Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


pals (version 1.10)

matplotlib: Matplotlib colormaps

Description

Viridis family of colormaps as found in Matplotlib. Designed to be perceptually uniform, but generally too dark to be useful.

Usage

magma(n)

inferno(n)

plasma(n)

viridis(n)

Value

A vector of colors

Arguments

n

Number of colors to return

Author

Palettes by Matteo Niccoli. R code by Kevin Wright.

Examples

Run this code
pal.bands(magma, inferno, plasma, viridis)

Run the code above in your browser using DataLab