hydromodpy.display.theme#

Display theme presets.

A Theme bundles a few matplotlib rcParams knobs (palette, fonts, grid, background) so the whole figure corpus looks consistent. The registry exposes three presets: default, print and dark. Call apply_theme() at the start of a display session; figures do not have to opt-in individually.

The plot_params() helper is a legacy hook used by the MODFLOW-NWT and Boussinesq notebooks to apply the historical “classic” matplotlib rcParams in one call.

Functions

apply_theme(name)

Configure matplotlib.rcParams from the named preset.

get_theme(name)

plot_params(small, interm, medium, large)

Apply the classic matplotlib rcParams style and return a FontProperties.

Classes

Theme(name, palette, grid_alpha, ...)