1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
cmcrameri
This is a Python wrapper around Fabio Crameri's perceptually uniform colour maps
http://www.fabiocrameri.ch/colourmaps.php
All credit for creating the colourmaps to Fabio. Any errors in the Python implementation of colourmaps are my own.
This version is based on Scientific Colourmaps Version 7.0 (02.02.2021)
Install
With pip:
pip install cmcrameri
With conda:
conda config --add channels conda-forge
conda install cmcrameri
Usage example
from cmcrameri import cm
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 100, 100)[None, :]
plt.imshow(x, aspect='auto', cmap=cm.batlow) # or any of the other colourmaps made by Fabio Crameri
plt.axis('off')
plt.show()
Extra instructions
You can access all the core colourmaps from Fabio Crameri's list by cm.<colormapname>
You can use tab autocompletion on cm if your editor supports it
For a reversed colourmap, append _r to the colourmap name
Categorical colormaps have the suffix S
For an image of all the available colourmaps without leaving the comfort of your Python session
from cmcrameri.cm import show_cmaps
show_cmaps()
License
This work is licensed under an MIT license.
Metadata
Release files for cmcrameri 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cmcrameri-1.2.tar.gz | 114.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cmcrameri-1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 248.0 kB
Release files / cmcrameri-1.2.tar.gz
| Download URL | cmcrameri-1.2.tar.gz |
|---|---|
| Size | 114.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf965b96676f5e7aa021585dba21f6906ff4d5eb7d9d921789e4c5d639596eb0
|
|
BLAKE2b-256 checksum How to use checksums |
6f20b662ce375cca40c69748ba189e3fb2319be6050c43a80af3c72ef5a47fb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / cmcrameri-1.2-py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | cmcrameri-1.2-py3-none-any.whl |
|---|---|
| Size | 133.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a2f01bd3d1a3f97ad5c7a205a2e73f0fca122421c5d0cd1b5926b2bc4577a12
|
|
BLAKE2b-256 checksum How to use checksums |
6c15b31544ec37f365dfd7122ad6919f1dccb40b19cd38e4518e3292d89c79d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for cmcrameri 1.2
Upload timing
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.