Skip to content

Commit d972756

Browse files
authored
Merge 455d597 into 9482378
2 parents 9482378 + 455d597 commit d972756

3 files changed

Lines changed: 432 additions & 0 deletions

File tree

‎_static/img/colouring_points.png‎

226 KB
Loading

‎examples/colouring_points.ipynb‎

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

‎examples/index.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ Draw regions of interest directly on a `spatialdata-plot` canvas with
2424
`sdata.pl.annotate(...)` and persist them as a `ShapesModel` element.
2525
:::
2626

27+
:::{grid-item-card} Colouring points
28+
:link: /notebooks/examples/colouring_points
29+
:link-type: doc
30+
:img-top: /notebooks/_static/img/colouring_points.png
31+
32+
Colour a point element by continuous (`cmap`, `norm`, colorbar) or
33+
categorical (`palette`, `groups`, `na_color`, legend) columns, and tune
34+
`size`/`alpha`, on real Xenium transcripts.
35+
:::
36+
2737
::::
2838
<!-- gallery-cards-end -->
2939

@@ -33,4 +43,5 @@ Draw regions of interest directly on a `spatialdata-plot` canvas with
3343
3444
visium_mouse_brain
3545
interactive_annotate
46+
colouring_points
3647
```

0 commit comments

Comments
 (0)