hydromodpy.display.map_axes#

Shared helpers for HydroModPy spatial figures.

These helpers consolidate the small matplotlib idioms every map figure needs: no scientific-notation offset on metric coordinates (which collides with the title), comma-separated tick labels, sane tick density, and an optional watershed outline drawn on top of the field.

The helpers stay backend-agnostic - they only touch a matplotlib Axes.

Functions

overlay_watershed_contour(ax, sim, *[, ...])

Draw the catchment polygon outline on top of a map, if available.

style_date_axis(ax, *[, rotation])

Apply ConciseDateFormatter to avoid the "2000-012000-05…" overlap.

style_map_axes(ax, *[, xlabel, ylabel, ...])

Apply the standard HydroModPy map styling to ax.

style_relative_km_axes(ax, *[, xlabel, ...])

Style map axes as relative kilometres from the current lower-left corner.