Science Colour Maps is a small package containing several colour maps created using viscm.
Project description
SciCM: Scientific Colour Maps
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scicm-1.0.1.tar.gz
.
File metadata
- Download URL: scicm-1.0.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca62b001af8f296db8b9f03fe05f0974c6563a103231ddfd733a82c87932d03c |
|
MD5 | 8e4dec9739dfca32e919d19fe51e5ade |
|
BLAKE2b-256 | a093897ac485dfcbf6a340d72b46a306af6998836f1cf0211faec00fa2784694 |
File details
Details for the file scicm-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: scicm-1.0.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 531a7e8f6d5b337fe45ab67a36c7455fb743ff2dfdd05446f9bc53e8c85802c6 |
|
MD5 | e80898513b03ae12d57186d2e66bf7fe |
|
BLAKE2b-256 | ab88939afb6469d7934cfa620e1379b7d9ac362efe75118701b70e9cb3a82b1e |