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

Use color vision deficiency friendly colormap as default for Clustergram #450

Closed
joelostblom opened this issue Nov 24, 2019 · 0 comments · Fixed by #592
Closed

Use color vision deficiency friendly colormap as default for Clustergram #450

joelostblom opened this issue Nov 24, 2019 · 0 comments · Fixed by #592

Comments

@joelostblom
Copy link

joelostblom commented Nov 24, 2019

Inability to distinguish red and green is the most common color deficiecy in the population, affecting nearly 10% of people. Although red-green colormaps were once common in heatmaps, especially for microarray data, the color combinations is increasingly avoided for more accessible color combinations such as blue/teal to red/orange/yellow/brown (Colorbrewer has some more examples, check the "colorblind safe" box).

When plotly/plotly.py#1681 lands, I think px.colors.diverging.RdBu_r could be a good option for diverging values, or a map similar to 'coolwarm' from colorcet. For sequential values, viridis, or maybe single or dual colors (e.g. Orange to Red or Reds) could be good.

Related:
http://geog.uoregon.edu/datagraphics/color_scales.htm
www.kennethmoreland.com/color-maps/ColorMapsExpanded.pdf
https://matplotlib.org/3.1.1/tutorials/colors/colormaps.html

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

Successfully merging a pull request may close this issue.

2 participants