Skip to contents

Display Viridis palettes

Usage

viridis_palettes(palettes = 1:8, colors = 9)

Arguments

palettes

Choice of palettes, corresponding to one of the 8 palettes included with Viridis

colors

The number of colors to generate for each palette

Value

ggplot2 object

Examples

viridis_palettes()