pals (version 1.5)

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)

Arguments

n

Number of colors to return

Value

A vector of colors

Examples

Run this code
# NOT RUN {
pal.bands(magma, inferno, plasma, viridis)

# }

Run the code above in your browser using DataCamp Workspace