hydromodpy.display.viz#

Public hmp.viz dispatcher exposed at the top level.

Single-entry function show(data, downsample="auto", crs=None) that auto-dispatches based on the input type:

  • xarray.DataArray -> rasterize via datashader when the array is dense or when downsample="auto" triggers, otherwise straight to plot.imshow style.

  • pandas.Series -> LTTB-downsample when dense, then plot.

  • geopandas.GeoDataFrame -> render via geopandas (datashader/holoviews layered backends are reserved for the interactive extra).

Functions

show(data, *[, downsample, crs, target_px, ...])

Display data with auto-dispatch and optional downsampling.