Skip to content
🍒 🍊 🍋 Tutorial on building and using effective colormaps in climate science 🍏 🍇 🍆
Jupyter Notebook Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmaps Add 'sources' folder Jul 25, 2019
data Update README.md Oct 21, 2019
figures
notebooks Merge branch 'master' of https://github.com/bradyrx/color_workshop Oct 21, 2019
ppt
.gitignore Script for loading bad cmaps, notebook with breakdowns Jul 11, 2019
.proplotrc Local config file, update figures Oct 21, 2019
LICENSE Initial commit Jul 4, 2019
README.md Update README.md Oct 21, 2019
environment.yml add netcdf4 to yaml environment Oct 21, 2019

README.md

Launch a binder here to run our notebooks and import custom colormaps:

Binder


Effective Use of Color in Climate Science Visualizations

Riley X. Brady and Luke 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.

Helpful Links

Downloadable Colormaps

Here you can download colormaps for your language/GUI of choice.

  1. cpt-city - Not well screened for good colormaps, but a huge library of them to look through.
  2. SciVisColor - Science-focused colormaps created by the viz team at UT Austin.
  3. cmocean - Perceptually uniform colormaps for oceangoraphy.
  4. Fabio Crameri - Perceptually uniform colormaps for geosciences.
  5. Color Brewer - One of the original resources for perceptually uniform colormaps. The strings from this page can be passed directly into matplotlib.

Color Palettes

Can serve as inspiration when making qualitative colormaps (color cycles).

  1. Color Hunt
  2. Color Drop
  3. Adobe Color

Design Your Own Colormaps

Resources for making your own colormaps from scratch.

  1. HCL Picker
  2. Chroma.js
  3. HCL Wizard
  4. Proplot API

Design Your Own Color Cycles

Resources for making your own color cycles from scratch.

  1. Color Cycle Picker
  2. i want hue
  3. Coolors
  4. Proplot API

Testing Your Colormaps and Color Cycles

It's always good to test your colormaps and color cycles to check that they are perceptually uniform and colorblind-friendly.

  1. Viz Palette - Will check colorblind friendliness, contrast, and even whether or not they have "name" conflicts for when pointing out colors during a talk.
  2. Proplot API
You can’t perform that action at this time.