Description
CMasher is a Python package of scientific colormaps for plots, mainly used with matplotlib, along with utility functions for other Python projects. Its colormaps are designed to be perceptually uniform and sequential, using the viscm package, and most are friendly to people with colour-vision deficiency. The collection offers alternatives to common colormaps: chroma and rainforest in place of jet, sunburst for hot, neutral for binary, and fusion and redshift for coolwarm. The README invites users to request a new colormap by opening an issue with the colours or style they want. The package is available on PyPI and conda-forge. The online documentation also describes how to use the colormaps in other languages and applications, and an overview shows every colormap. The README asks scientists who publish with CMasher to cite the paper, and gives a BibTeX helper, cmr.get_bibtex. The source is public on GitHub.…
Highlights
- Perceptually uniform sequential colormaps
- Most colormaps friendly to colour-vision deficiency
- Alternatives to jet, hot, binary and coolwarm
- Available on PyPI and conda-forge
- Citation helper with get_bibtex
Ratings & Reviews
No ratings yet
Be the first to rate CMasher.
People also visit

distinct-colors
Generate a palette of visually distinct colors. It's great for charts
CMasher FAQ
What is CMasher?
A Python package of scientific colormaps for plots, mainly used with matplotlib, plus utility functions.
How do I install it?
The package is published on PyPI and conda-forge.
Which colormaps replace common ones?
The README suggests chroma or rainforest for jet, sunburst for hot, neutral for binary, and fusion or redshift for coolwarm.
Are the colormaps accessible?
The README says they are designed to be perceptually uniform, and most are friendly to people with colour-vision deficiency.
Can I request a colormap?
Yes. Open an issue with the colours or style you want, and the author will try to make one.
What are the best CMasher alternatives?
Popular alternatives to CMasher include Cnsplots, Matplotlib and Seaborn. See all CMasher alternatives






