Skip to content

A tool for visualizing and designing colormaps using colorspacious and matplotlib

License

Notifications You must be signed in to change notification settings

matplotlib/viscm

Folders and files

NameName
Last commit message
Last commit date
Jun 13, 2023
Jun 13, 2023
Jun 6, 2023
Jun 12, 2023
Nov 1, 2015
Jun 3, 2023
Jun 3, 2023
Jun 3, 2023
Feb 23, 2016
Mar 20, 2019
Jun 12, 2023
Jun 11, 2023
Jun 11, 2023
Jun 11, 2023
May 21, 2023

Repository files navigation

viscm

This is a little tool for analyzing colormaps and creating new colormaps.

Downloads:
Code and bug tracker:
https://github.com/matplotlib/viscm
Contact:
Nathaniel J. Smith <[email protected]> and Stéfan van der Walt <[email protected]>
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.

About

A tool for visualizing and designing colormaps using colorspacious and matplotlib

Resources

License

Stars

Watchers

Forks

Packages

No packages published