from colorspace import palette, diverging_hcl
# Default diverging HCL palette
pal = palette(diverging_hcl().colors(7))
pal.specplot()
pal.specplot(rgb = False)


Documentation built with Python 3.11.10, pyp2qmd 0.1.1 and quarto 1.5.57 on GitHub.
Interfacing the colorspace.specplot.specplot function. Plotting the spectrum of the current color palette.
palette.specplot(*args, **kwargs)*args
**kwargs