-
-
Save ericdill/2978f2b34e7f56b8fac959df3766b2d0 to your computer and use it in GitHub Desktop.
6 element viridis colormap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import matplotlib.cm as cm | |
# import numpy as np | |
# np.round(cm.viridis(np.arange(0, 1.2, 1/5)) * 255) | |
array([[ 68, 1, 84, 255], | |
[ 65, 68, 135, 255], | |
[ 42, 120, 142, 255], | |
[ 34, 168, 132, 255], | |
[122, 209, 81, 255], | |
[253, 231, 37, 255]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment