tate_display: Display palette

View source: R/tate_display.R

tate_displayR Documentation

Display palette

Description

A function for visualising palettes.

Usage

tate_display(x)

Arguments

x

tate_palette or tate_palette_list. These objects are output by the tate::tate_palette() or tate::tate_sample() functions or can be constructed via the tate::tate_construct().

Value

A plot of the input palette(s).

Examples

Hockney <- tate_palette(name = "Hockney")
tate_display(x = Hockney)
all_palettes <- tate_palette(name = "All")
tate_display(x = all_palettes)

LewisAJones/london documentation built on Aug. 31, 2022, 10:55 p.m.