Skip to content

Conversation

@vincentott
Copy link
Contributor

@vincentott vincentott commented Jul 31, 2025

(see also: jasp-stats/jasp-desktop#5986)

The current colorblind and colorblind2 are not that colorblind friendly, as shown by the package
colorblindcheck::palette_plot()

colorblind:
Screenshot 2025-07-31 at 19 19 41

colorblind2:
Screenshot 2025-07-31 at 19 25 45

On the other hand, colorblind3 is better:
Screenshot 2025-07-31 at 19 21 31

To add an alternative to colorblind3, I propose colorblind4:
Screenshot 2025-07-31 at 19 20 47

Note that it is complementary to colorblind3 in the following way.
If only 2 colors are extracted, then colorblind3 will give black and pink, while colorblind4 will give green and black.
Depending on the use case and meaning of the data, this offers flexibilty that users might appreciate.


Finally, I also added inferno from the viridis family:
Screenshot 2025-07-31 at 19 24 08
For an additional palette that works for continuous data (like viridis).

@vandenman vandenman merged commit c0e432b into jasp-stats:master Aug 12, 2025
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants