Skip to main content

Science Colour Maps is a small package containing several colour maps created using viscm.

Project description

SciCM: Scientific Colour Maps

Github release PyPI version

SciCM is a small Python package aimed at providing a large set of good (i.e. perceptually linear) colour maps, constructed with a consistent design philosophy. This package expands and complements the already existent selection of similar colour maps (e.g., matplotlib, ColorCET, cmocean and CMasher). All colour maps in this package have been created using viscm. Also included are utilities for colour map manipulation.

Installation and use

The package is available for installation using pip:

>pip install scicm

Although you may wish to install it directly from GitHub using:

>pip install git+https://github.com/MBravoS/splotch.git@master

Upon importing SciCM, the colour maps are registered with matplotlib, so they can be used by passing cmap='scicm.cmapname' to any plotting function that accepts a colour map (e.g. the cmap keyword in matplotlib). The colour map objects can also be explicitly accessed using scicm.cm.cmapname. Reversed versions of the colour maps are also included, accessible through the same naming convention used by matplotlib (i.e. cmapname_r).

Included Colour Maps

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

scicm-1.0.3.tar.gz (349.5 kB view details)

Uploaded Source

Built Distribution

scicm-1.0.3-py3-none-any.whl (442.1 kB view details)

Uploaded Python 3

File details

Details for the file scicm-1.0.3.tar.gz.

File metadata

  • Download URL: scicm-1.0.3.tar.gz
  • Upload date:
  • Size: 349.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for scicm-1.0.3.tar.gz
Algorithm Hash digest
SHA256 7d9aa455519c6f95c38b237c571a65c61a695eb834110b78665f48a4fa2bf89e
MD5 3ddccefa2358dcafb6d68ddc5aaf4031
BLAKE2b-256 0b3d2c219d178e1aa4806d6b3cc1eed2e6c307b1dc878e665ff5f948422ee4c8

See more details on using hashes here.

File details

Details for the file scicm-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: scicm-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 442.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for scicm-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a7abb37603a351cceb13811c340e6486d1c3e4b807da83e5c68fc2c2fa3ca269
MD5 f4888093a7647fc12c70d9287ce3931a
BLAKE2b-256 e5b82c894a2eb0dda4abe213d34bd8ec6719230ca8e8b7805063e4315173d0fc

See more details on using hashes here.

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