33
44This is a little tool for analyzing colormaps and creating new colormaps.
55
6- Try::
7-
8- $ pip install viscm
9- $ python -m viscm view jet
10- $ python -m viscm edit
11-
12- There is some information available about how to interpret the
13- resulting visualizations and use the editor tool `on this website
14- <https://bids.github.io/colormap/> `_.
15-
166Downloads:
177 * https://pypi.python.org/pypi/viscm/
188 * https://anaconda.org/conda-forge/viscm/
@@ -24,23 +14,50 @@ Contact:
2414 Nathaniel J. Smith <
[email protected] > and Stéfan van der Walt <
[email protected] >
2515
2616Dependencies:
27- * Python 3.8+
28- * `colorspacious <https://pypi.python.org/pypi/colorspacious >`_
29- * Matplotlib
30- * NumPy
17+ * Python 3.9+
18+ * `colorspacious <https://pypi.python.org/pypi/colorspacious >`_ 1.1+
19+ * Matplotlib 3.5+
20+ * NumPy 1.22+
21+ * SciPy 1.8+
22+ * one of PyQt6, PySide6
3123
3224License:
3325 MIT, see `LICENSE <LICENSE >`__ for details.
3426
27+
28+ Installation
29+ ------------
30+
31+ This is a GUI application, and requires Qt Python bindings.
32+ They can be provided by PyQt (GPL) or PySide (LGPL)::
33+
34+ $ pip install viscm[PySide]
35+
36+ ...or::
37+
38+ $ pip install viscm[PyQt]
39+
40+
41+ Usage
42+ -----
43+
44+ ::
45+
46+ $ viscm view jet
47+ $ viscm edit
48+
49+ There is some information available about how to interpret the
50+ resulting visualizations and use the editor tool `on this website
51+ <https://bids.github.io/colormap/> `_.
52+
53+
3554Reproducing viridis
36- -------------------
55+ ^^^^^^^^^^^^^^^^^^^
3756
38- Load [ viridis AKA option_d.py]( https://github.com/BIDS/colormap/) using:
57+ Load ` viridis AKA option_d.py < https://github.com/BIDS/colormap/ >`__ using: :
3958
40- ```
41- python -m viscm --uniform-space buggy-CAM02-UCS -m Bezier edit /tmp/option_d.py
42- ```
59+ viscm --uniform-space buggy-CAM02-UCS -m Bezier edit /tmp/option_d.py
4360
4461Note that there was a small bug in the assumed sRGB viewing conditions
4562while designing viridis. It does not affect the outcome by much. Also
46- see ` python -m viscm --help `.
63+ see :code: ` viscm --help `.
0 commit comments