-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Added cividis, a new colormap mathematically optimized while consider… #2178
Conversation
…ing those with a color vision deficiency
Can you share a screenshot of what that new colorscale looks like? |
The test failure is just from using hard tabs - I'm surprised that this is breaking at the build step rather than syntax checking, but whatever, we use 4 spaces as a tab. I guess |
Yep, you'll need to the generate the png baseline (see docs) in order to get the tests to pass. |
It looks like I'm unable to do this from my work computer since docker isn't too friendly with Windows 7. Is this an image that can be generated by your team? I can also try using the Linux VM set up on my home computer tonight if that is the easier route. |
@jamienunez right, the docker setup is a bit finicky even on *nix systems. Anyway I've fixed the syntax and added the baseline image, will merge when tests pass. Thanks for adding cividis! |
Hey @jamienunez - I included this feature in our release notes blog post: https://medium.com/@plotlygraphs/notes-from-the-latest-plotly-js-release-b035a5b43e21. Let me know if you'd like anything changed (chris[at]plot.ly) and thanks again for your contribution! |
This looks great! Thank you for featuring cividis. I really like the animation you used to feature it. If it isn't too much work, can you change "Community member Jamie Nuñez" to "Community members Jamie Nuñez, Dr. Ryan Renslow, and Dr. Chris Anderton"? We all contributed to this work so it would be nice to see them named as well. |
…ing those with a color vision deficiency. Paper going through the review process: Nuñez J, Anderton C, and Renslow R. Optimizing colormaps with consideration for color vision deficiency to enable accurate interpretation of scientific data. 2018.
Thanks for your interest in plotly.js!
Developers are strongly encouraged to first make a PR to their own plotly.js fork and ask one of the maintainers to review the modifications there. Once the pull request is deemed satisfactory, the developer will be asked to make a pull request to the main plotly.js repo and may be asked to squash some commits before doing so.
Before opening a pull request, developer should:
git rebase
their local branch off the latestmaster
,git add
thedist/
folder (thedist/
is updated only on verion bumps),Note that it is forbidden to force push (i.e.
git push -f
) to remote branches associated with opened pull requests. Force pushes make it hard for maintainers to keep track of updates. Therefore, if required, pleasegit merge master
into your PR branch instead ofgit rebase master
.