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.0.tar.gz (349.4 kB view details)

Uploaded Source

Built Distribution

scicm-1.0.0-py3-none-any.whl (441.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scicm-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ced5c1e5eef39370f5f7e45b5e3c3f6a298976d4d7b0042af20bdd16572db172
MD5 0ef073b9f634bdc3c60f7e4ddcb13544
BLAKE2b-256 93b91dca6d30008a14e37ed4cda88caca6f1f1c560c567a584bc1b36169b12b1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for scicm-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 630d13b05c66fa126860457621d0f6a5cd7df2d1d21f0d3bf6a8901fe108ec58
MD5 cb5681f1bf5965c8badf718ba2802291
BLAKE2b-256 f76955a0ce48eaa5f4b90a69bca1bb8100a94b6f5ef5497b7de59d5ac2642658

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