Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequential palettes should progress from light to dark by default #2

Open
joewdavies opened this issue Jul 12, 2023 · 1 comment
Open

Comments

@joewdavies
Copy link

Hi! Love the library by the way

I noticed that some sequential schemes dont progress from light to dark by default. I am aware of the 'reverse' option but I feel that light to dark should be the default for sequential schemes.

For example colorBrewer 'Greys' scheme is ordered light to dark but the cmocean 'Gray' palette is not.

Here are some resources to back this up:

https://web.natur.cuni.cz/~langhamr/lectures/vtfg1/mapinfo_2/barvy/colors.html#:~:text=Sequential%20Color%20Schemes,-Sequential%20data%20classes&text=Low%20data%20values%20are%20usually,progression%20should%20dominate%20the%20scheme.

https://colorbrewer2.org/learnmore/schemes_full.html

https://academy.datawrapper.de/article/140-what-to-consider-when-choosing-colors-for-data-visualization (no.7)

Thanks for your work!

@mthh
Copy link
Member

mthh commented Jul 12, 2023

Thanks for your feedback!

I'm aware of this, but I've also noticed that some Cmocean palettes (like the 'Gray' one on mentioned) are always supplied in that order (dark to light, instead of the other way round).
As we can see in the reference paper and for example here or here.

I think I won't reverse these palettes as one of my main concern is to respect the authors' work by providing their color schemes as they propose them.

Anyway, I'm letting this issue open for a few days, in case I change my mind (or in case I decide to annotate with a property, palettes that progress in a direction that's uncommon for cartography / data visualization).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants