Commit d584a91
committed
Add legends and colorbars example
New examples/legends_and_colorbars.ipynb on the real Visium mouse-brain
dataset (squidpy), covering the show() legend/colorbar surface that was
previously undocumented:
- categorical legend placement/styling: legend_loc (matplotlib locations
and '* margin'), legend_fontsize/fontweight/fontoutline, legend_title
- na_in_legend (with groups) and the bundled legend_params dict
- continuous colorbar on/off and colorbar_params (label, orientation, loc)
- a legend and a colorbar side by side in a multi-panel color=[...] figure
Executed against spatialdata-plot v0.4.1; committed with outputs. Adds the
examples gallery card + toctree + thumbnail. Closes the P1.1 gap from the
0.4.0/0.4.1 doc-coverage analysis.1 parent 9482378 commit d584a91
3 files changed
Lines changed: 548 additions & 0 deletions
Loading
| 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 | | |
Large diffs are not rendered by default.
0 commit comments