Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matplotlib/viscm
A tool for visualizing and designing colormaps using colorspacious and matplotlib
https://github.com/matplotlib/viscm
Last synced: 1 day ago
JSON representation
A tool for visualizing and designing colormaps using colorspacious and matplotlib
- Host: GitHub
- URL: https://github.com/matplotlib/viscm
- Owner: matplotlib
- License: mit
- Created: 2015-07-04T07:06:05.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-06-13T17:11:53.000Z (over 1 year ago)
- Last Synced: 2024-11-06T19:24:35.227Z (7 days ago)
- Language: Python
- Size: 659 KB
- Stars: 166
- Watchers: 17
- Forks: 33
- Open Issues: 12
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
viscm
=====This is a little tool for analyzing colormaps and creating new colormaps.
Downloads:
* https://pypi.python.org/pypi/viscm/
* https://anaconda.org/conda-forge/viscm/Code and bug tracker:
https://github.com/matplotlib/viscmContact:
Nathaniel J. Smith and Stéfan van der WaltDependencies:
* Python 3.9+
* `colorspacious `_ 1.1+
* Matplotlib 3.5+
* NumPy 1.22+
* SciPy 1.8+
* one of PyQt6, PySide6License:
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 editThere 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 :code:`viscm --help`.