Matplotlib provides a large number of named colors that are identified in a dictionary called cnames.
I'd like to define an additional number of named colors that are part of our corporate palette.
Is there a way to add to the cnames dictionary without editing that file?
CodePudding user response:
You should definetely take a look at
You may also consider putting you corporate pallette in the axes.prop_cycle
property in the matplotlibrc file.