Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

invrs-io/ccmaps

Repository files navigation

A few custom matplotlib colormaps

Continuous integration PyPI version

This package includes custom matplotlib colormaps that I have found to be useful. These currently include:

  • WBGYR (white-blue-green-yellow-red), which is often used to plot electromagnetic field intensities (1, 2).
  • BKR (white-blue-black-red-white), appropriate for electromagnetic field amplitudes.
  • cmap_for_wavelength, which generates a colormap that interpolates between the chosen background color and the color for the specified wavelength (in nanometers).

Install

pip install ccmaps

Examples

cmaps

About

Custom matplotlib colormaps

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages