randomly.palette

randomly.palette

randomly.palette.plot_palette(model: str) matplotlib.figure.Figure[source]

Display five color swatches side-by-side.

Parameters

model ({"default", "ui"}) – Color set to use. "default" and "ui" are always available. Other color sets rotate. See colormind.io/list for current options.

Returns

A plot of the complete 1 x 5 sequence of color patches.

Return type

Figure

Raises

ValueError – When model is not one of {"default", "ui"}.