sidescanpy.viz#

Thin plotting helpers for SideScan sonar data.

Each function renders one result onto a matplotlib Axes (creating a figure when none is given) and returns the Axes or (Figure, Axes) so callers can compose or customize it. Nothing here saves files or runs corrections: saving, multi-panel layouts and workflow belong to the caller (see the examples in examples/). Requires the viz extra (matplotlib).

Public functions#

2026 rshomberg@uri.edu

Contents

resolve_cmap

Return a Colormap with NaN cells set to render as NAN_COLOR.

Modules

sidescanpy.viz.resolve_cmap(cmap)#

Return a Colormap with NaN cells set to render as NAN_COLOR.

Accepts either a registered colormap name or an existing Colormap instance, matching every call site’s existing cmap: str | Colormap signature. Always returns a copy so the shared, registry-wide colormap object referenced by a bare name is never mutated in place.