Skip to contents

Renders a base-graphics swatch view of one palette, or a stacked grid of all palettes. Useful for quick visual inspection in the R console / RStudio Plots pane.

Usage

display_prakriti(name = NULL, show_type = TRUE)

Arguments

name

Character or NULL. Name of the palette. If NULL (default), displays all 30 palettes stacked vertically.

show_type

Logical. If TRUE (default), includes the palette type (sequential, diverging, qualitative) in row labels. Must be TRUE or FALSE - to filter by type, use prakriti_info() instead.

Value

Invisibly returns NULL. Called for its side effect.

Examples

display_prakriti("rann")

# \donttest{
display_prakriti()

display_prakriti(show_type = FALSE)

# }