from colorspace import palette
= palette(["#FCFFC9", "#E8C167", "#D67500", "#913640", "#1D0B14"],
pal = "Custom Palette")
name
pal.swatchplot()= (5, 1)) pal.swatchplot(figsize
Palette Swatch Plot
Description
Interfacing the main swatchplot function. Plotting the spectrum of the current color palette.
Usage
palette.swatchplot(**kwargs)
Arguments
-
**kwargs
-
forwarded to swatchplot. Note that
show_names
will always be set toFalse
.