Palette Swatch Plot

Description

Visualization the color palette of this color object. Internally calls swatchplot, additional arguments to this main function can be forwarded via the **kwargs argument.

Usage

HCL.swatchplot(**kwargs)

Arguments

**kwargs
Additional named arguments forwarded to swatchplot.

Examples

# Example using HCL colors
from colorspace import HCL, hexcols
cols = HCL(H = [220, 196, 172, 148, 125],
           C = [ 44,  49,  55,  59,  50],
           L = [ 49,  61,  72,  82,  90])
cols.swatchplot(figsize = (8, 2))

# Example using hex colors
cols = hexcols(["#0FCFC0", "#9CDED6", "#D5EAE7",
                "#F1F1F1", "#F3E1EB", "#F6C4E1", "#F79CD4"])
cols.swatchplot(figsize = (8, 3.5));