Launch a binder here to run our notebooks and import custom colormaps:
Riley X. Brady and Luke L. B. Davis
Contact:
This repository holds materials for a 90-minute workshop on building and utilizing effective colormaps for climate science visualizations. The workshop begins with a 15-minute presentation on colormap basics (e.g., different types of colormaps with examples and best practices for usage), followed by a 15-minute presentation on the more quantitative aspects of evaluating colormaps, and then a 60-minute period (including presentations) where participants use online tools to build their own colormaps.
You can find the color usage documentation for proplot
here as well as installation instructions. proplot
is a matplotlib
wrapper written by Luke Davis with an extremely robust colormapping and color cycling module. We use it under the hood in this tutorial, but you can find more details on the documentation for building your own colormaps and color cycles through proplot
.
Here you can download colormaps for your language/GUI of choice.
- cpt-city - Not well screened for good colormaps, but a huge library of them to look through.
- SciVisColor - Science-focused colormaps created by the viz team at UT Austin.
- cmocean - Perceptually uniform colormaps for oceangoraphy.
- Fabio Crameri - Perceptually uniform colormaps for geosciences.
- Color Brewer - One of the original resources for perceptually uniform colormaps. The strings from this page can be passed directly into
matplotlib
.
Can serve as inspiration when making qualitative colormaps (color cycles).
Resources for making your own colormaps from scratch.
- CCC Tool - See the accompanying manuscript here: https://ieeexplore.ieee.org/abstract/document/8939459
- HCL Picker
- Chroma.js
- HCL Wizard
- Proplot API
Resources for making your own color cycles from scratch.
It's always good to test your colormaps and color cycles to check that they are perceptually uniform and colorblind-friendly.
- Viz Palette - Will check colorblind friendliness, contrast, and even whether or not they have "name" conflicts for when pointing out colors during a talk.
- Sim Daltonism and Color Oracle - See what your screen looks like to people with various color vision deficiencies. Note that on Mac, you may have to give these applications permission to record your screen by going to System Preferences --> Security and Privacy --> Screen Recording and checking the box next to the application name.
- Proplot API -- The plot.show_channels function can be used to test the linearity of transitions in hue, chroma, luminance, and saturation.