Plot a palette

pth_plot_palette(palette, ...)

# S3 method for default
pth_plot_palette(palette, ...)

# S3 method for pth_palette_path
pth_plot_palette(
  palette,
  n_point = 11,
  step = 0.5,
  args_control = waiver(),
  args_palette = waiver(),
  ...
)

Arguments

palette

function with S3 class pth_palette.

...

other args (not used)

n_point

numeric number of points to show.

step

numeric size of step in luminance and chroma.

args_control

list of additional arguments sent to pth_layer_control_points(), set to NULL to suppress layer.

args_palette

list of additional arguments sent to pth_layer_palette(), set to NULL to suppress layer.

Value

tibble with columns luminance, chroma, hue, hex