coloured_2D

This module provides the Coloured2D class.

class mATLASplotlib.plotters.coloured_2D.Coloured2D(plot_style)

Bases: mATLASplotlib.plotters.base_plotter.BasePlotter

Plot as points in the x-y plane

add_to_axes(axes, dataset, **kwargs)

Add the chosen dataset to the chosen axes.

Parameters:
  • axes (matplotlib.axes) – which axes to plot this dataset on
  • dataset (matplotlib.axes) – which axes to plot this dataset on
Keyword Arguments:
 
  • colour_map (str) – which colour map to use
  • with_key (bool) – draw the key (True by default)