Commit c3ae9ba
authored
docs: add colouring points example (#20)
* Add colouring points example
New examples/colouring_points.ipynb covering render_points colour control on
the real Xenium cells transcripts (squidpy):
- continuous color= with a colorbar; cmap and norm to shape the mapping
- categorical color= with a legend; palette, groups, and na_color
- size and alpha
- uses the matplotlib backend for per-point colour (datashader/density noted
for scale, cross-linked to the density and performance notebooks)
Executed against spatialdata-plot v0.4.1; committed with outputs. Adds the
examples gallery card + toctree + thumbnail. Closes P2.1 of the doc-coverage
analysis.
* docs(colouring_points): add dataset blurb + transcripts columns, na_color-hides-unmatched rule, concrete 10k datashader threshold1 parent 429f4cb commit c3ae9ba
3 files changed
Lines changed: 485 additions & 0 deletions
Loading
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| |||
33 | 43 | | |
34 | 44 | | |
35 | 45 | | |
| 46 | + | |
36 | 47 | | |
0 commit comments