base_plotter

This module provides the BasePlotter class.

class mATLASplotlib.plotters.base_plotter.BasePlotter(plot_style)

Bases: object

Base class for plot formatting.

__init__(plot_style)

Initialise common plotting properties.

Parameters:plot_style (str) – which plotting style to use. Consists of plot style name, plus any additional options available in the child class.
add_to_axes(axes, dataset, **kwargs)

Add the chosen dataset to the chosen axes. Delegated to child classes.

Parameters:
  • axes (matplotlib.axes) – which axes to plot this dataset on
  • dataset (Dataset) – dataset to plot