From 672bb45ccc8a54cf8fcf90e7b3f06aa598ce6248 Mon Sep 17 00:00:00 2001 From: anon Date: Thu, 27 Aug 2026 15:54:58 +0200 Subject: [PATCH] docs: link the cropping tutorial from crop_coord, bump notebooks submodule Also lets ruff reorder one import in basic.py (pre-existing isort drift). Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_011JMbY8asahxaytthjvCKDv --- docs/notebooks | 2 +- src/spatialdata_plot/pl/basic.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/notebooks b/docs/notebooks index 8d786cf9..c3ae9ba3 160000 --- a/docs/notebooks +++ b/docs/notebooks @@ -1 +1 @@ -Subproject commit 8d786cf96d1507a29ec34175bf0361efe5e8d8ee +Subproject commit c3ae9ba3fcd9bc2ff919b343ff9c94f0818298ae diff --git a/src/spatialdata_plot/pl/basic.py b/src/spatialdata_plot/pl/basic.py index df0312e5..d124140f 100644 --- a/src/spatialdata_plot/pl/basic.py +++ b/src/spatialdata_plot/pl/basic.py @@ -57,10 +57,10 @@ _split_colorbar_params, ) from spatialdata_plot.pl.render_params import ( - BBox, CBAR_DEFAULT_FRACTION, CBAR_DEFAULT_LOCATION, CBAR_DEFAULT_PAD, + BBox, ChannelLegendEntry, CmapParams, ColorbarSpec, @@ -1402,7 +1402,8 @@ def show( default palette fall back to full render + clip (windowing could otherwise reshuffle colours); use a categorical dtype or an explicit palette to keep the windowed fast path. Requires a single coordinate system (pass ``coordinate_systems`` with one entry if several - would otherwise be rendered). + would otherwise be rendered). See the + `cropping tutorial `_. ax : list[Axes] | Axes | None Pre-existing matplotlib axes to plot on. Can be a single :class:`~matplotlib.axes.Axes` or a list matching the number of coordinate systems. If ``None``, a new figure and axes are created.