midgard.plot

+

midgard.plot.matplotext

+

Matplotlib extension class

+

Description:

+

Wrapper functions around matplotlib subroutines are defined in this class.

+

MatPlotExt

+

Full name: midgard.plot.matplotext.MatPlotExt

+

Signature: (options: Dict[str, Any] = None) -> None

+

Class for plotting - Extension of matplotlib

+

Following options* can be selected:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OptionValueDescription
colormapColor map type for plotting either events or labels (e.g. viridis, jet,
tab10, rainbow, hsv, plasma)
dpiResolution of file in dots per inch
figsize(num, num)Figure size given by (width, height) in inches
fsize_subtitleFontsize of subplot title (statistical information)
grid<TrueFalse>
histogramPlot x-axis histogram on top, y-axis histogram on right or for both
axis on scatter plot
histogram_binwidthHistogram bin width
histogram_sizeHistogram y-axis size
legend<TrueFalse>
legend_locationLegend location
legend_ncolThe number of legend columns
linestyle