Skip to content

Commit 53461bf

Browse files
committed
feat: add multi-panel colouring tutorial
New tutorials/multi_panel_color.ipynb demonstrating scanpy-style color=[...] for render_labels/render_shapes: one-to-many colourings, mixing categorical and continuous, ncols grid control, and shared palette/cmap across panels. Uses the synthetic blobs dataset, mirrors the color_and_palette structure, and executes against spatialdata-plot 0.4.1. Adds a gallery card + toctree entry and a 549x491 thumbnail matching the existing cards.
1 parent c1e512f commit 53461bf

3 files changed

Lines changed: 421 additions & 0 deletions

File tree

_static/img/multi_panel_color.png

107 KB
Loading

tutorials/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ perceptually well-spaced or colourblind-safe palettes with
2525
`make_palette` and `make_palette_from_data`.
2626
:::
2727

28+
:::{grid-item-card} Multi-panel colouring
29+
:link: /notebooks/tutorials/multi_panel_color
30+
:link-type: doc
31+
:img-top: /notebooks/_static/img/multi_panel_color.png
32+
33+
Render several colourings at once by passing a list to `color=`,
34+
scanpy-style, with per-panel legends/colourbars, shared `palette`/`cmap`,
35+
and `ncols` grid control.
36+
:::
37+
2838
:::{grid-item-card} Speeding up rendering
2939
:link: /notebooks/tutorials/performance
3040
:link-type: doc
@@ -44,5 +54,6 @@ of shapes and points.
4454
4555
getting_started
4656
color_and_palette
57+
multi_panel_color
4758
performance
4859
```

tutorials/multi_panel_color.ipynb

Lines changed: 410 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)