A colormap tool
Project description
This is a little tool for analyzing colormaps and creating new colormaps.
- Downloads:
- Code and bug tracker:
- Contact:
Nathaniel J. Smith <njs@pobox.com> and Stéfan van der Walt <stefanv@berkeley.edu>
- Dependencies:
Python 3.9+
colorspacious 1.1+
Matplotlib 3.5+
NumPy 1.22+
SciPy 1.8+
one of PyQt6, PySide6
- License:
MIT, see LICENSE for details.
Installation
This is a GUI application, and requires Qt Python bindings. They can be provided by PyQt (GPL) or PySide (LGPL):
$ pip install viscm[PySide]
…or:
$ pip install viscm[PyQt]
Usage
$ viscm view jet $ viscm edit
There is some information available about how to interpret the resulting visualizations and use the editor tool on this website.
Reproducing viridis
Load viridis AKA option_d.py using:
viscm --uniform-space buggy-CAM02-UCS -m Bezier edit /tmp/option_d.py
Note that there was a small bug in the assumed sRGB viewing conditions
while designing viridis. It does not affect the outcome by much. Also
see viscm --help
.
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
Built Distribution
File details
Details for the file viscm-0.10.tar.gz
.
File metadata
- Download URL: viscm-0.10.tar.gz
- Upload date:
- Size: 322.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a30dd19bc2b6cdbcf198b2526b1bd11e8031fa0df6e2b3cd7d95ad792550643 |
|
MD5 | 7b75e6aac002005dfd1118c619b9820e |
|
BLAKE2b-256 | a8106ea349dbe223b23f9bb2982a7f24376586a96fb8a04e4b5114a3f8ea0598 |
File details
Details for the file viscm-0.10-py3-none-any.whl
.
File metadata
- Download URL: viscm-0.10-py3-none-any.whl
- Upload date:
- Size: 318.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d92bbae48b0e17cd8830f233a238d42e4b3f57cadc2076cf954fbb2b69c42c4b |
|
MD5 | 4c35c76879b3d9e4ef427a2dc0834345 |
|
BLAKE2b-256 | 6352a78767ac03da0a4678bf0c551819eeaa6c662e43e510b8ef72bc248d77c8 |