[Matplotlib-users] redefining color keywords in stylesheets

Pierre Haessig pierre.haessig at crans.org
Thu Apr 7 04:55:37 EDT 2016

Le 06/04/2016 17:37, Paul Hobson a écrit :
> I believe that seaborn achieves this through its set_color_codes
> function:
> https://github.com/mwaskom/seaborn/blob/10bdb18f47bb5fc0a30d34954ff6f174b4cf5881/seaborn/palettes.py#L900
Interesting ! Thank! 

So the functionality is available in seaborn (though not activated as
default if I understand it right). Putting the ability to redefine the
short codes in Matplotlib's rcParams could be a logical next step...


More information about the Matplotlib-users mailing list