Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Author(s)

Palettes by Matteo Niccoli. R code by Kevin Wright.

Examples

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

pals

Color Palettes, Colormaps, and Tools to Evaluate Them

v1.7
GPL-3
Authors
Kevin Wright [aut, cre] (<https://orcid.org/0000-0002-0617-8673>)
Initial release
2021-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.