https://github.com/waldyrious/wide-viridis
A colormap inspired by matplotlib's viridis, but with a wider luminance range.
https://github.com/waldyrious/wide-viridis
Last synced: 7 months ago
JSON representation
A colormap inspired by matplotlib's viridis, but with a wider luminance range.
- Host: GitHub
- URL: https://github.com/waldyrious/wide-viridis
- Owner: waldyrious
- Created: 2017-12-30T21:19:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-30T22:43:34.000Z (over 8 years ago)
- Last Synced: 2025-01-03T20:26:15.536Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 345 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wide-viridis
A colormap inspired by [matplotlib's viridis](https://matplotlib.org/users/colormaps.html),
but with a wider luminance range (i.e. starting at near black).
| | Full color | Grayscale |
| ---------------- | -------------------------------------- | -------------------------------------- |
| **Wide Viridis** |  |  |
| **Viridis** |  |  |
Viridis is a popular choice among Matplotlib's perceptually uniform color maps
(which also include also Magma, Inferno and Plasma)
but, like Plasma, it doesn't start at black, which may be undesirable in some cases.
After unsuccessful searches for existing Viridis variants with this property,
I took it upon myself to build such a colormap.
I installed [viscm](https://github.com/matplotlib/viscm) and played with the parameters
until I managed to approximate the tonal appearance of Viridis
while making the scale start at near zero luminance.
Here are some the test images used by `viscm`, for comparison:
| Wide Viridis | Viridis |
|:----------------------------------:|:-----------------------------:|
|  |  |
|  |  |