R/viridis_palettes.R
viridis_palettes.Rd
Display Viridis palettes
viridis_palettes(palettes = 1:8, colors = 9)
Choice of palettes, corresponding to one of the 8 palettes included with Viridis
The number of colors to generate for each palette
ggplot2 object
viridis_palettes()