viridis
Mojo function 🡭
viridis
fn def viridis() -> List[Color]Viridis: dark blue-purple through green to yellow, the usual first choice for data that runs low to high.
Designed by Nathaniel Smith and Stefan van der Walt to be perceptually uniform – equal steps in the data look like equal steps in color – and to stay monotonic in lightness, so it also reads correctly printed in grayscale and to a color-blind viewer.
Returns:
List[Color]: 64 stops, for Theme(color_ramp=viridis()).