Graph¶
Graph is a class providing layouts for the complete plot images including titles multiple plots and a legend
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.Graph.Graph(*args, **kw)¶
Bases:
object
- __init__(*args, **kw)¶
- drawWaterMark(imagePath=None)¶
Make the figure water mark
- layoutFigure(legend)¶
- makeGraph(data, *args, **kw)¶
- makeTextGraph(text='Empty image')¶
Make an empty text image
- writeGraph(fname, fileFormat='PNG')¶
Write out the resulting graph to a file with fname in a given format