Where does the term viridis (for color map) in matplotlib come from?

user10253483

the default Colormap of matplotlib is viridis,

a = np.arange(6).reshape(2,3)
aimg = plt.imshow(a)

renders an image (figure_1)

enter image description here

aimg.cmap.name

outputs

'viridis'

which is not a normal English.

according to this post,

The Latin word for “green” is viridis

but figure_1 looks like more colorful than green.

what does the term viridis in matplotlib come from?

JacobIRR

The source code says:

Matplotlib ships with 4 perceptually uniform color maps which are
the recommended color maps for sequential data:
  =========   ===================================================
  Colormap    Description
  =========   ===================================================
  inferno     perceptually uniform shades of black-red-yellow
  magma       perceptually uniform shades of black-red-white
  plasma      perceptually uniform shades of blue-red-yellow
  viridis     perceptually uniform shades of blue-green-yellow
  =========   ===================================================

I also found this:

For an introduction to color theory and how 'viridis' was generated watch Nathaniel Smith and Stéfan van der Walt's talk from SciPy2015

Here's that talk

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related