Skip to main content

Collection of perceptually uniform colormaps

Project description



Colorcet: Collection of perceptually uniform colormaps

Latest release Github release PyPI version colorcet version conda-forge version defaults version
Python Python support
Build Status Linux/MacOS Build Status
Coverage codecov
Latest dev release Github tag dev-site
Documentation site

What is it?

Colorcet is a collection of perceptually uniform colormaps for use with Python plotting programs like bokeh, matplotlib, holoviews, and datashader based on the set of perceptually uniform colormaps created by Peter Kovesi at the Center for Exploration Targeting.

Installation

Colorcet supports Python 3.10 and greater on Linux, Windows, and Mac and can be installed with conda:

conda install colorcet

or with pip:

python -m pip install colorcet

If you want to try out the latest features between releases, you can get the latest dev release by installing:

conda install -c pyviz/label/dev colorcet

For more information take a look at Getting Started.

Learning more

You can see all the details about the methods used to create these colormaps in Peter Kovesi's 2015 arXiv paper. Other useful background is available in a 1996 paper from IBM.

The Matplotlib project also has a number of relevant resources, including an excellent 2015 SciPy talk, the viscm tool for creating maps like the four in mpl, the cmocean site collecting a set of maps created by viscm, and the discussion of how the mpl maps were created.

Samples

Some of the Colorcet colormaps that have short, memorable names (which are probably the most useful ones) are visible here:


But the complete set of 100+ is shown in the User Guide.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

colorcet-3.2.1.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

colorcet-3.2.1-py3-none-any.whl (262.3 kB view details)

Uploaded Python 3

File details

Details for the file colorcet-3.2.1.tar.gz.

File metadata

  • Download URL: colorcet-3.2.1.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for colorcet-3.2.1.tar.gz
Algorithm Hash digest
SHA256 48d9a67e6e59dc5c0a965aa1b46fe5d59cdc95cc36a95949f29313f950ac59f7
MD5 198d7ced383dd1710e10dbc6201e93d8
BLAKE2b-256 3fafb969f541242b84cbbacabdf20862e487689e352bf0f02f90df2795d29da5

See more details on using hashes here.

Provenance

The following attestation bundles were made for colorcet-3.2.1.tar.gz:

Publisher: build.yaml on holoviz/colorcet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file colorcet-3.2.1-py3-none-any.whl.

File metadata

  • Download URL: colorcet-3.2.1-py3-none-any.whl
  • Upload date:
  • Size: 262.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for colorcet-3.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f6fde13cef2169222dd5fe2a2bf847c02d644470fdf167ed566f6421df470f7
MD5 9f61915632775f222d14c8278b3d79e1
BLAKE2b-256 1b24e95471ae93c08d3606c9c7343cf65d490f154daa88b50581957a0aa780f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for colorcet-3.2.1-py3-none-any.whl:

Publisher: build.yaml on holoviz/colorcet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page