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 to False.

Examples

from colorspace import palette
pal = palette(["#FCFFC9", "#E8C167", "#D67500", "#913640", "#1D0B14"],
              name = "Custom Palette")
pal.swatchplot()
pal.swatchplot(figsize = (5, 1))