BarGraph

BarGraph represents bar graphs with vertical bars both simple and stacked.

The DIRAC Graphs package is derived from the GraphTool plotting package of the CMS/Phedex Project by … <to be added>

class DIRAC.Core.Utilities.Graphs.BarGraph.BarGraph(data, ax, prefs, *args, **kw)

Bases: PlotBase

The BarGraph class is a straightforward bar graph; given a dictionary of values, it takes the keys as the independent variable and the values as the dependent variable.

__init__(data, ax, prefs, *args, **kw)
draw()
dumpPrefs()
setAxes(axes)
x_formatter_cb(ax)