-
Notifications
You must be signed in to change notification settings - Fork 22
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
Adjust DHARMa plots for color blindness #413
Comments
Maybe do this via options? |
e.g. options(DHARMaSignalColor = "blue") |
Given that the current standard colors are black and red, you could simply code them as 1 and 2 (where |
Thanks Marius, this would in principle be a perfect solution but our DHARMa red is not "red" (as in R3) and not the 2 in the R4 pallete, and I'm not sure if I like the R4 value 2 ... @melina-leite, maybe you can do a few test plots? |
I think it's saver to got with the options - I'll push the write to options at startup and then access via .Options$DHARMaSignalColor or getOption("DHARMaSignalColor") |
Hi, I substituted the default color and introduced notes on the plot help files. Did some plot tests and it seems to be ok now. :) |
Hi Melina, I wonder if we should add a note about this in the vignette as well? Also, in the help of plotResiduals, there it displays for me
so probably there is a double @note? |
I was told that the red-block color scheme in many DHARMa plots is not suitable for color blindness (my bad, didn't realise that red-black is nearly as bad as red-green).
Color-blind people, feel free to comment what the best solution would be.
For the moment, I think I would maybe move to an option to change signal colours in DHARMa from red to something else (e.g. blue)?
The text was updated successfully, but these errors were encountered: