ssapy_toolkit.Plots.build_dashboard
- ssapy_toolkit.Plots.build_dashboard(panels, *, nrows, ncols, figsize=(14, 8), dpi=100, facecolor='white', save_path=None, show=False, wspace=0.25, hspace=0.35)[source]
Build a custom dashboard from user-provided panel renderers.
- Parameters:
- Each entry describes one panel:
- {
“loc”: (r, c) or (r0, r1, c0, c1), # single cell or row/col span “projection”: None or “3d”, “render”: callable(ax, fig, **kwargs) -> any, “kwargs”: dict (optional) # passed to render()
}
nrows (int) – GridSpec dimensions.
ncols (int) – GridSpec dimensions.
save_path (str or None) – If provided, saves the figure.
show (bool) – If True, displays the figure.
- Returns:
axes: list of axes created (one per panel) outputs: list of return values from each panel’s render()
- Return type:
fig, axes, outputs