Skip to content

Commit f0c7d66

Browse files
committed
Add marker shapes tutorial
New tutorials/marker_shapes.ipynb documenting render_shapes(shape=) for circle elements: - circle (default), hex, and square markers on blobs_circles - shape='visium_hex' rendering real Visium spots as a touching hex grid (squidpy visium_hne_sdata, coloured by brain-region clusters) - composing shape= with colour and outline Executed against spatialdata-plot v0.4.1; committed with outputs. Adds the gallery card + toctree + thumbnail.
1 parent 9482378 commit f0c7d66

3 files changed

Lines changed: 383 additions & 0 deletions

File tree

_static/img/marker_shapes.png

184 KB
Loading

tutorials/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ Add a physical scalebar with `scalebar_dx`, choose units, and style
5454
placement, colour, length and fonts through `scalebar_params`.
5555
:::
5656

57+
:::{grid-item-card} Marker shapes
58+
:link: /notebooks/tutorials/marker_shapes
59+
:link-type: doc
60+
:img-top: /notebooks/_static/img/marker_shapes.png
61+
62+
Draw circle elements as circles, hexagons, or squares with `shape=`, and
63+
render Visium spots as a hex grid with `shape="visium_hex"`.
64+
:::
65+
5766
::::
5867
<!-- gallery-cards-end -->
5968

@@ -66,4 +75,5 @@ color_and_palette
6675
multi_panel_color
6776
performance
6877
scalebars
78+
marker_shapes
6979
```

0 commit comments

Comments
 (0)