binned_band¶
This module provides the BinnedBand class.
-
class
mATLASplotlib.plotters.binned_band.BinnedBand(plot_style)¶ Bases:
mATLASplotlib.plotters.base_plotter.BasePlotterPlot as binned band in the x-y plane.
Additional plot_style options: - central line – also draw a horizontal line at the vertical centre of each bin
- central line stepped – as for central line but also join these vertically at the edge of each bin
-
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: - alpha (float) – set alpha transparency
- colour (str) – which face colour to use
- hatch (str) – set hatch pattern
- hatchcolour (str) – which hatch colour to use
- label (str) – label to use when this appears in a legend
- linecolour (float) – which colour to use for the main line and for hatches
- linewidth (str) – how wide to draw the line