LineGraph

LineGraph represents line graphs both simple and stacked. It includes also cumulative graph functionality.

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.LineGraph.LineGraph(data, ax, prefs, *args, **kw)

Bases: DIRAC.Core.Utilities.Graphs.PlotBase.PlotBase

The LineGraph class is a straightforward line 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)

x.__init__(…) initializes x; see help(type(x)) for signature

draw()
dumpPrefs()
setAxes(axes)
x_formatter_cb(ax)