Palette

Palette is a tool to generate colors for various Graphs plots and legends

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.Palette.Palette(palette={}, colors=[])

Bases: object

addPalette(palette)
generateColor(label)
getColor(label)
setColor(label, color)
setPalette(palette)