interpolateViridis function Sequential schemes

String interpolateViridis(
  1. num t
)

Given a number t in the range [0,1], returns the corresponding color from the “viridis” perceptually-uniform color scheme designed by van der Walt, Smith and Firing for matplotlib, represented as an RGB string.

Implementation

String interpolateViridis(num t) => _interpolateViridis(t);