depictr.depictr_palette#
- depictr.depictr_palette(n=None, kind='qualitative')#
Return a depictr palette.
- Parameters:
n (int, optional) – Number of colours to return. For the qualitative palette
None(the default) returns the full Okabe-Ito set, and annlarger than the available colours is interpolated. The sequential and diverging palettes are ramps and accept anyn(defaulting to 7).kind ({"qualitative", "sequential", "diverging"}) – The palette family.
- Returns:
Hex colour codes.
- Return type: