heat_colors: A set of perceptually uniform heat map colors from python's...

Description Usage Arguments Value Examples

View source: R/plotting.R

Description

A set of perceptually uniform heat map colors from python's matplotlib

Usage

1
2
heat_colors(n = 15, opt = c("viridis", "magma", "inferno", "plasma",
  "cividis"))

Arguments

n

an integer for the number of colors to get

opt

A character string indicating the colormap option to use.

Value

Hex color codes

Examples

1
2
heat_colors(10)
show_colors(heat_colors(36))

iamamutt/mejr documentation built on May 18, 2019, 1:27 a.m.