bar

This module provides the BarChart class.

class mATLASplotlib.plotters.bar_chart.BarChart(plot_style)

Bases: mATLASplotlib.plotters.base_plotter.BasePlotter

Plot bar chart.

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 (str) – which face colour to use
  • edgecolour (float) – which colour to use for the outline
  • edgewidth (float) – how large an outline width to use
  • label (str) – label to use when this appears in a legend