Examples

Examples#

Examples from real datasets you’d actually analyse.

Visium mouse brain

Render H&E tissue, overlay spots, color by gene expression and by cluster, and finish with a publication-style figure.

Plotting a Visium dataset
Interactive region annotation

Draw regions of interest directly on a spatialdata-plot canvas with sdata.pl.annotate(...) and persist them as a ShapesModel element.

Interactive region annotation
Legends and colorbars

Place and style categorical legends and continuous colorbars: legend_loc, legend_title, na_in_legend, legend_params, and colorbar_params, on a real Visium mouse-brain section.

Legends and colorbars in spatialdata-plot