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:

Option Value Description
colormap Color map type for plotting either events or labels (e.g. viridis, jet,
tab10, rainbow, hsv, plasma)
dpi Resolution of file in dots per inch
figsize (num, num) Figure size given by (width, height) in inches
fsize_subtitle Fontsize of subplot title (statistical information)
grid <True False>
histogram Plot x-axis histogram on top, y-axis histogram on right or for both
axis on scatter plot
histogram_binwidth Histogram bin width
histogram_size Histogram y-axis size
legend <True False>
legend_location Legend location
legend_ncol The number of legend columns
linestyle