Description Usage Arguments Value Examples
A set of perceptually uniform heat map colors from python's matplotlib
1 2 | heat_colors(n = 15, opt = c("viridis", "magma", "inferno", "plasma",
"cividis"))
|
n |
an integer for the number of colors to get |
opt |
A character string indicating the colormap option to use. |
Hex color codes
1 2 | heat_colors(10)
show_colors(heat_colors(36))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.