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

Other colormaps #8

Open
chebee7i opened this issue Nov 14, 2014 · 16 comments
Open

Other colormaps #8

chebee7i opened this issue Nov 14, 2014 · 16 comments

Comments

@chebee7i
Copy link
Contributor

Would there be intterest in including support for other colormap families?

Other families I had in mind were Matlab's parula colormap (see here), d3 (see here), ggplot2 (see here), tableau (see here), and some of the ones shown here.

@jiffyclub
Copy link
Owner

Definitely! I've already got some of the palettes from http://wesandersonpalettes.tumblr.com/ and I've been thinking about adding cubehelix. It'd be great to have a bunch of sub-packages with different options.

@chebee7i
Copy link
Contributor Author

Great. I'll see what I can do in this upcoming week. cubehelix would be great (I think its available from matplotlib).

@jiffyclub
Copy link
Owner

Thanks! Some things to keep in mind:

  • brewer2mpl has no hard dependencies and it should stay that way.
  • all color maps are available in both discrete and continuous (via matplotlib) versions, and I'd like that to stay the case as well.

@chebee7i
Copy link
Contributor Author

It would also be nice to include some of the colormaps in here:

http://statmath.wu.ac.at/~zeileis/papers/Zeileis+Hornik+Murrell-2009.pdf

especially the colorblind-sensitive maps.

@chebee7i
Copy link
Contributor Author

@mycarta
Copy link

mycarta commented Apr 23, 2015

If you are interested in the MyCarta palettes mentioned by chebee7i, they are available as ASCII files here: https://mycarta.wordpress.com/color-palettes
https://github.com/kwinkunks and I wrote on porting them them to matplotlib here https://mycarta.wordpress.com/2014/04/25/convert-color-palettes-to-python-matplotlib-colormaps/

@jiffyclub
Copy link
Owner

Thanks for the links @mycarta!

@QuLogic
Copy link

QuLogic commented May 2, 2015

Based on some discussion at matplotlib, I'm pretty sure Mathworks considers parula their IP, so I wouldn't risk including it if I were you.

@tvashtar
Copy link

For what it's worth the proposed new Viridis color map is up here. Matplotlib will have it in a few months, though.

@darribas
Copy link

darribas commented Aug 4, 2016

+1 to include viridis in palettable. It's the only thing I miss in the library and it's become so popular that I think it'd make the library more attractive. Any chance it can be included? #please #please #please

@kjyv
Copy link

kjyv commented Sep 12, 2016

I'd also like to suggest some more palettes, especially one or some that are not organized (or ordered) as tuples but instead triples (I have a use e.g. for different types of coordinate data). Also useful would be palettes with more than 20 colors. As higher numbers of colors of course have less distinguishability, it would be nice if these were ordered in such a way that using e.g. only the first 10 makes these colors more distinct than using all of them. This discussion has some nice suggestions for that (including maximally distinct from all previous colors): http://graphicdesign.stackexchange.com/questions/3682/where-can-i-find-a-large-palette-set-of-contrasting-colors-for-coloring-many-d

@darribas
Copy link

darribas commented Dec 8, 2016

Carto just released a new set of color palettes, which are available in hex.

@jiffyclub
Copy link
Owner

Palettable 3.0 is out and includes some new palettes:

@jiffyclub
Copy link
Owner

Someone on Twitter recommended the colorcet palettes: https://github.com/bokeh/colorcet

@flutefreak7
Copy link

flutefreak7 commented Mar 15, 2019

+1 on getting more large categorical colormaps easily available. The stack overflow link shared above includes references to several historically significant color palettes that did this like the London subway and the color alphabet.

http://graphicdesign.stackexchange.com/questions/3682/where-can-i-find-a-large-palette-set-of-contrasting-colors-for-coloring-many-d

There's also Glasbey Colors that seems to be a very academically sound modern approach to maximizing the differences: https://github.com/taketwo/glasbey

A discussion about Glasbey color generation can be found here: holoviz/colorcet#11

@valentynbez
Copy link

Adding this to the pile, commonly used by bioinformaticians and microbial ecologists. Might be useful for other folks: https://github.com/KarstensLab/microshades

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

No branches or pull requests

9 participants