Belle II Software development
|
Public Member Functions | |
def | __init__ (self, figure=None, axis=None, normed=False, range_in_std=None, x_axis_label=None) |
def | add (self, data, column, mask=None, weight_column=None, label=None) |
def | finish (self) |
Public Attributes | |
normed | |
Normalize histograms before drawing them. | |
range_in_std | |
Show only a certain range in terms of standard deviations of the data. | |
box_axes | |
create empty list for box axes | |
distribution | |
The distribution plot. | |
x_axis_label | |
x axis label | |
Static Public Attributes | |
None | box_axes = None |
Axes for the boxplots. | |
Plots distribution of a quantity including boxplots
Definition at line 989 of file plotting.py.
def __init__ | ( | self, | |
figure = None , |
|||
axis = None , |
|||
normed = False , |
|||
range_in_std = None , |
|||
x_axis_label = None |
|||
) |
Creates a new figure and axis if None is given, sets the default plot parameters @param figure default draw figure which is used @param axis default draw axis which is used @param normed true if the histograms should be normed before drawing @param range_in_std show only the data in a windows around +- range_in_std * standard_deviation around the mean
Reimplemented from Plotter.
Definition at line 997 of file plotting.py.
def add | ( | self, | |
data, | |||
column, | |||
mask = None , |
|||
weight_column = None , |
|||
label = None |
|||
) |
Add a new distribution plot, with additional information like a boxplot compared to the ordinary Distribution plot. @param data pandas.DataFrame containing all data @param column which is used to calculate distribution histogram @param mask boolean numpy.array defining which events are used for the distribution histogram @param weight_column column in data containing the weights for each event
Reimplemented from Plotter.
Definition at line 1017 of file plotting.py.
def finish | ( | self | ) |
Sets limits, title, axis-labels and legend of the plot
Reimplemented from Plotter.
Definition at line 1049 of file plotting.py.
|
static |
Axes for the boxplots.
Definition at line 995 of file plotting.py.
box_axes |
create empty list for box axes
Definition at line 1011 of file plotting.py.
distribution |
The distribution plot.
Definition at line 1013 of file plotting.py.
normed |
Normalize histograms before drawing them.
Definition at line 1007 of file plotting.py.
range_in_std |
Show only a certain range in terms of standard deviations of the data.
Definition at line 1009 of file plotting.py.
x_axis_label |
x axis label
Definition at line 1015 of file plotting.py.