Theme#
Theme class#
- class gufo.style.theme.Theme(name, rc)[source]#
Bases:
objectAn immutable description of visual style for a chart.
Themes do not mutate global state until explicitly applied. Use as_context() to scope a theme to a with-block. Use apply_global() (or gufo.set_theme()) to set the global default.
- property name#
The theme’s registered name.
Registry functions#
- gufo.style.theme.set_theme(name='gufo_modern')[source]#
Apply a theme globally to all subsequent charts.