# Exemplarily for diverging_hcl, works for
# all other HCL palettes as well.
from colorspace import diverging_hcl
pal = diverging_hcl()
pal.swatchplot(figsize = (8, 2))

Documentation built with Python 3.11.10, pyp2qmd 0.1.1 and quarto 1.5.57 on GitHub.
Interfacing the main swatchplot function. Plotting the spectrum of the current color palette.
sequential_hcl.swatchplot(n=7, **kwargs)
nint
**kwargs
# Exemplarily for diverging_hcl, works for
# all other HCL palettes as well.
from colorspace import diverging_hcl
pal = diverging_hcl()
pal.swatchplot(figsize = (8, 2))
