hydromodpy.display#
Solver-agnostic figure rendering for HydroModPy simulations.
Figures consume the Run catalog
interface; they never touch a solver, a project state or raw output files.
The same figure code therefore renders MODFLOW-NWT, MODFLOW 6 and Boussinesq
results identically.
Public API:
>>> from hydromodpy.display import get, list_figures, names >>> "piezometric_map" in names() True >>> get("piezometric_map").spec.name 'piezometric_map' >>> len(list_figures()) > 0 TrueRendering needs a Run backed by a simulation on disk:
>>> get("piezometric_map").plot(run, save_path="head.png")
Functions
|
Return a fresh instance of the registered figure |
Return the list of all registered figure specs, sorted by name. |
|
|
Iterate over the names of registered figures. |
|
Class decorator. |
Classes
ABC providing the universal |
|
|
The unique figure contract. |
|
Static metadata describing one figure type. |