Skip to main content

cmuseo

cmuseo is a Python package that provides perceptually uniform colormaps, ensuring accurate gradients and accessible data interpretation for scientific visualization, with palette names reflecting the key colors of each colormap.

  • vivian transitions smoothly from midnight violet through refreshing teal-green (viridian) to bright pale canary yellow, forming a vibrant palette well-suited for clear, engaging visualizations in data science and research.

  • indira moves from deep indigo through plum purple and brilliant orange into light straw yellow, offering a luminous, warm palette ideal for visualizations requiring energy and contrast.

  • elsa progresses from dark elderberry purple through deep blue and pastel sapphire to frosty mint and pale jade, creating a cool, crystalline palette suited for visualizations with an icy aesthetic and arctic clarity.

cmuseo colormaps preview

Features

  • Unique RGB colormaps designed with perceptual uniformity in mind
  • Easy integration with matplotlib
  • Openly licensed under GNU GPL v3.0

Installation

pip install cmuseo

Usage

Basic usage

import cmuseo

Example: Previewing colormaps

import matplotlib.pyplot as plt
import numpy as np
import cmuseo

colormaps = ['vivian', 'indira', 'elsa']

fig, axs = plt.subplots(len(colormaps), 1, figsize=(8, 0.8*len(colormaps)))

gradient = np.linspace(0, 1, 256).reshape(1, -1)

for ax, cmap_name in zip(axs, colormaps):
    ax.imshow(gradient, aspect='auto', cmap=cmap_name)
    ax.text(-0.02, 0.5, cmap_name, va='center', ha='right', transform=ax.transAxes)
    ax.set_axis_off()

plt.tight_layout()
plt.show()

Metadata

Release files for cmuseo 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cmuseo 1.0.1
File Size Uploaded
cmuseo-1.0.1.tar.gz 32.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cmuseo 1.0.1
File Interpreter ABI Platform
cmuseo-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 62.1 kB

Release files / cmuseo-1.0.1.tar.gz

Download URL cmuseo-1.0.1.tar.gz
Size 32.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0eed1bbe216934b0f3c90c6e6aea5d188b19ff8512965fee95b34c94e72ed30e
BLAKE2b-256 checksum
How to use checksums
798c0541bb45ba67676998e36b3da734e7f4114f3942a7bfcad2fd0dab711c8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / cmuseo-1.0.1-py3-none-any.whl

Download URL cmuseo-1.0.1-py3-none-any.whl
Size 29.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4cfbeea2289efc408442fdc449f3a84d7e1bc0da37617f0c0b81c4469f86e0b6
BLAKE2b-256 checksum
How to use checksums
c17c2d8a888ef52877006d03cc29a6e31336ceaa46b485a59598e2db43ec3ac3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page