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

Add glasbey_tableau10? #45

Closed
endolith opened this issue Feb 18, 2020 · 3 comments
Closed

Add glasbey_tableau10? #45

endolith opened this issue Feb 18, 2020 · 3 comments

Comments

@endolith
Copy link

endolith commented Feb 18, 2020

Is your feature request related to a problem? Please describe.
I sometimes want to plot lots of colors but I want them to look nice

Describe the solution you'd like
Similar to #11, could you add a Glasbey color list that starts with the (new) Tableau 10 series?

4e79a7
f28e2c
e15759
76b7b2
59a14f
edc949
af7aa1
ff9da7
9c755f
bab0ab
@jbednar
Copy link
Member

jbednar commented Feb 18, 2020

Sure! But to clarify first, are you looking for additional colors in the style of NewTableau10 (with medium saturation and medium amounts of gray, from the looks of them)? Glasbey colors will be the opposite, i.e. the next few colors in the series will be maximally different from the NewTableau10 colors, either unsaturated, highly saturated, with lots of gray mixed in, with no gray mixed in, etc. If you're after more colors like NewTableau10, you could achieve that with the algorithm, but first you would have to filter out all the colors not in that style, and only then run the algorithm. If on the other hand all you want is the first 10 colors to match NewTableau10 and then get a bunch of other colors, then that's easy.

@endolith
Copy link
Author

Good point. They have pretty contradictory goals, I guess, where Tableau is a bunch of colors of similar lightness that look good together, and Glasbey is just maximally different. I guess what I really want is an extended version Tableau with 25-30 colors that look good together and are reasonably distinguishable, which maybe I should make myself since it's not as general-purpose.

I was just thinking of this since the old Tableau10 is the beginning of glasbey_category10.

@jbednar
Copy link
Member

jbednar commented Feb 18, 2020

Makes sense. If you were able to constrain the colors available by appropriate options to the underlying glasbey code (which may or may not require modifying the glasbey code) so that it would continue to produce colors in that style, then I'd love to see that and then would add the resulting automatically generated colormap here. But assuming you aren't starting such a project, then I'll close this issue for now, as it sounds like you don't need what I could do myself (glasbey colors different from NewTableau10).

If you make a new set by hand, you can consider contributing it to https://github.com/pyviz/contrib_colormaps , where hand-constructed maps are fine. I do think others could be interested in such a colormap!

@jbednar jbednar closed this as completed Feb 18, 2020
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

2 participants