Executable notebooks demonstrating spatialdata-plot on real spatial-omics datasets. Rendered into the spatialdata-plot documentation as a gallery.
tutorials/ # end-to-end workflows on real datasets (Visium, Xenium, MERFISH, ...)
examples/ # short, focused notebooks demonstrating one feature at a time
Each notebook is committed with outputs so the spatialdata-plot docs build
performs no execution. Outputs are kept fresh by a scheduled CI job that
re-executes every notebook against the latest spatialdata-plot release.
git clone https://github.com/scverse/spatialdata-plot-notebooks.git
cd spatialdata-plot-notebooks
pip install -e ".[exec]"
jupyter labThe exec extra pulls spatialdata-plot, squidpy (for dataset loaders),
and jupyter. Datasets are fetched on first run via each library's built-in
caching (pooch), then re-used across runs.
See CONTRIBUTING.md. Short version:
- Add
tutorials/<topic>.ipynb(workflow) orexamples/<group>/<topic>.ipynb(focused). - Re-execute end-to-end and commit with outputs.
- Add the notebook to
tutorials/index.mdorexamples/index.md. - Open a PR —
lint.yamlchecks structure;execute.yamlre-runs notebooks on the PR.
Notebooks use public datasets distributed via squidpy.datasets and
spatialdata.datasets. Per-dataset citations live in the markdown header of
each notebook; please follow the same convention when contributing.
BSD-3-Clause. See LICENSE.