Skip to content

Conversation

@vincentott
Copy link
Contributor

Context: jasp-stats/jaspGraphs#118

I want users to switch to colorblind friendlier palettes.
This is why I would like to make Colorblind #3 the new default at the very top.

To ensure backwards compatibility, I kept Colorblind and Colorblind #1
Yet, they are marked as deprecated and moved to the very bottom.

Maybe this is not the optimal solution yet, so feel free to fix/build on my current proposal.

Comment on lines +30 to +34
{ label: qsTr("Colorblind #3"), value: "colorblind3" },
{ label: qsTr("Colorblind #4"), value: "colorblind4" },
{ label: qsTr("Viridis"), value: "viridis" },
{ label: qsTr("Inferno"), value: "inferno" },
{ label: qsTr("JASP"), value: "jaspPalette" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if the naming makes sense here. Why not do Colorblind 1 through n and we mention elsewhere that this was different before version XXX? Also, please consistently use tabs for the indents instead of spaces.

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