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

RdBu and BrBg from matplotlib? #90

Closed
stevengj opened this issue Apr 19, 2022 · 2 comments
Closed

RdBu and BrBg from matplotlib? #90

stevengj opened this issue Apr 19, 2022 · 2 comments

Comments

@stevengj
Copy link

Matplotlib seems like it has finer-granulated versions of these, and they are nice to have as diverging colormaps for signed data.

I like the discussion in Matplotlib's manual here: https://matplotlib.org/stable/tutorials/colors/colormaps.html — it would be nice to have something similar in the documentation, and in particular to highlight which colormaps are perceptually uniform and other nice properties.

@cormullion
Copy link
Member

Hi! Yes, in earlier releases I used to include figures with a bit more information:

image

but keeping the size of the swatch docs down became a consideration... And only a proportion of the colorschemes are for plotting purposes... It would be good to add some more information like the one you referenced.

Perhaps we could have a function perceptual_uniformity(cs::ColorScheme) that returns some useful information - like a score for suitability?

@stevengj
Copy link
Author

Maybe just a section of the manual listing a subset of color schemes that are most suitable for visualization, like in Matplotlib's docs?

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

No branches or pull requests

2 participants