dcase_util.containers.DataMatrix2DContainer.plot

DataMatrix2DContainer.plot(plot=True, show_color_bar=False, figsize=None, xlabel=None, ylabel=None)[source]

Visualize data matrix.

Parameters
plotbool

If true, figure is shown automatically. Set to False if collecting multiple plots into same figure outside this method. Default value True

show_color_barbool

Show color bar next to plot. Default value False

figsizetuple

Size of the figure. If None given, default size (10,5) is used. Default value None

xlabelstr

Label for X axis Default value None

ylabelstr

Label for Y axis Default value None

Returns
self