Skip to main content

Collection of perceptually uniform colormaps

Project description



Colorcet: Collection of perceptually uniform colormaps

Build Status Linux/MacOS Build Status
Coverage codecov
Latest dev release Github tag dev-site
Latest release Github release PyPI version colorcet version conda-forge version defaults version
Python Python support
Docs gh-pages 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.7 and greater on Linux, Windows, or Mac and can be installed with conda:

conda install colorcet

or with pip:

python -m pip install colorcet

To work with JupyterLab you will also need the PyViz JupyterLab extension:

conda install -c conda-forge jupyterlab
jupyter labextension install @pyviz/jupyterlab_pyviz

Once you have installed JupyterLab and the extension launch it with:

jupyter-lab

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.1.0rc1.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

colorcet-3.1.0rc1-py3-none-any.whl (260.3 kB view details)

Uploaded Python 3

File details

Details for the file colorcet-3.1.0rc1.tar.gz.

File metadata

  • Download URL: colorcet-3.1.0rc1.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for colorcet-3.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 c35cb5b8fa77cdc96fe50c91381b3a9b6f2c91dbceb852a9372bc66c8614a740
MD5 4940cd77bcbf054ea55bf546d74f4940
BLAKE2b-256 6381d5415e3f3a9f073bf1b528e997ac8e199da4cbc0a721a581d584df221dee

See more details on using hashes here.

Provenance

File details

Details for the file colorcet-3.1.0rc1-py3-none-any.whl.

File metadata

  • Download URL: colorcet-3.1.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 260.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for colorcet-3.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebc550a82df8081b58b055007861b9d93667f4d177c3170373bfe7a9c5320c2b
MD5 df3b2b47838c82bd0190d729e5512caf
BLAKE2b-256 77f928c8d44d404366df77bb404752d2c5f60c50f303743cb713678a523d8043

See more details on using hashes here.

Provenance

Supported by

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