Skip to content

🍒 🍊 🍋 Tutorial on building and using effective colormaps in climate science 🍏 🍇 🍆

License

Notifications You must be signed in to change notification settings

bradyrx/climate_in_color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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.

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. CCC Tool - See the accompanying manuscript here: https://ieeexplore.ieee.org/abstract/document/8939459
  2. HCL Picker
  3. Chroma.js
  4. HCL Wizard
  5. 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. 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.
  3. Proplot API -- The plot.show_channels function can be used to test the linearity of transitions in hue, chroma, luminance, and saturation.

About

🍒 🍊 🍋 Tutorial on building and using effective colormaps in climate science 🍏 🍇 🍆

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published