-
Notifications
You must be signed in to change notification settings - Fork 39
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 plot colors that compensate for colorblindness #147
Comments
file free to assign me when this needs validation ;) |
Good one:
|
(so in base R there is |
I used this online colorblindness simulator to simulate colorblindness and copy-pasted the simulations (completely irreproducibly) into some slides. The current colors do not seem too bad in the simulation but I don't feel in the position to judge. |
Thanks, nice effort here to have better colours. Have you looked into the Color palette proposed by Okabe and Ito (https://github.com/clauswilke/colorblindr/blob/master/R/palettes.R), implemented in the --Michael |
Thanks! The Okabe and Ito palette is also available in palette.colors(palette = "Okabe-Ito")
|
How about a black & white option? Matt pointed out on Slack that the current colors are hard to distinguish in low contrast circumstances. R now has the option to shade surfaces in different patterns. I will experiment a little with that. |
The default colors may not be easily distinguishable for people with colorblindness. We should somehow make it easier to choose colors that compensate for that, or perhaps change the defaults.
The text was updated successfully, but these errors were encountered: