Plotting Reference: Validation and Common Errors
Rendered from 15_all_plot_functions.ipynb.
Validation and common errors
| Error | Typical cause |
|---|---|
PlotDataError | Missing coordinates, invalid style data, non-time-series variable, invalid profile geometry, or invalid time selection. |
ModelNotRunError | Result-driven layout styling, time-series plotting, or requested profile result overlays before m.run(). |
UnknownIDError | Requested node/link/object ID is not present. |
UnknownCategoryError / UnknownParameterError | Unknown dynamic time-series category or variable. |
NoPathError | No directed hydraulic path exists between requested nodes. |
InvalidPathError | Supplied profile links are empty or not connected in order. |
SaveError | Unsupported save format or a figure cannot be written. |