matplotlib: Matplotlib colormaps

matplotlibR Documentation

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

Author(s)

Palettes by Matteo Niccoli. R code by Kevin Wright.

Examples

pal.bands(magma, inferno, plasma, viridis)


pals documentation built on Sept. 11, 2024, 5:28 p.m.