has2k1 / plotnine

A Grammar of Graphics for Python
https://plotnine.org
MIT License
4.06k stars 225 forks source link

Global theme for color scales #878

Open JanPalasek opened 2 months ago

JanPalasek commented 2 months ago

Can we have a global theme for colour and fill scales? I would like set up colour and fill when I set up my global theme and override the default palettes for all plots. Like matplotlib has a color cycler, only here I would set up variants for continuous, discrete etc.

TyberiusPrime commented 2 months ago

Perhaps you could wrap plot creation in a function that gives you a plot with all the scales you like? I remember there being some warnings about unused color/fill scales though?