rekha.set_rekha_theme¶
- rekha.set_rekha_theme(dark_mode=False, palette='rekha')[source]¶
Set the Rekha matplotlib theme
- Parameters:
dark_mode (bool, default False) – Whether to use dark mode. Ignored when
palettenames a full brand theme (e.g. “avartha”), which carries its own background.palette (str, default "rekha") –
Color palette or brand theme to use.
Cycle-only palettes (swap the categorical colors on top of the light/dark base): “rekha”, “pastel”, “earth”, “ocean”, “warm”, “cool”, “monochrome”, “vibrant”, “ayu”, “dracula”, “monokai”, “solarized”, “nord”, “gruvbox”.
Full brand themes (carry their own background/text/grid/font): “avartha”.
- Returns:
The resolved color dictionary that was applied.
- Return type: