3 ms·
I believe the 'Spectral' colormap (with a capital S) in matplotlib does exactly that. Based on the names, it seems [1, 2] (along with all the other capitalized
by gammarator 14y ago
I believe the 'Spectral' colormap (with a capital S) in matplotlib does exactly that.
Based on the names, it seems [1, 2] (along with all the other capitalized matplotlib colormaps) to be a ColorBrewer [3] colormap, which are all designed with these perceptual considerations in mind [4].
[1] https://github.com/gka/chroma.js/wiki/Predefined-Colors https://github.com/gka/chroma.js/wiki/Predefined-Colors
[2] http://matplotlib.sourceforge.net/examples/pylab_examples/show_colormaps.html http://matplotlib.sourceforge.net/examples/pylab_examples/sh...
[3] http://colorbrewer2.com/ http://colorbrewer2.com/
[4] http://vis4.net/blog/posts/avoid-equidistant-hsv-colors/ http://vis4.net/blog/posts/avoid-equidistant-hsv-colors/