hydromodpy.display.renderer#

Matplotlib backend lifecycle and figure saving.

Functions

matplotlib_backend(*[, interactive, dpi])

Scope matplotlib backend and cleanup to a with block.

save_figure(fig, path, *[, dpi, fmt])

Save fig to path, creating parent directories as needed.