Creates a simple plot displaying the colors in a palette

display_palette(name, n = NULL)

Arguments

name

Character name of the palette

n

Number of colors to display

Value

A plot (invisible NULL)

Examples

display_palette("sunset")

display_palette("qicolors", 10)