Skip to content

Commit 13b20be

Browse files
add import spatialdata_plot
1 parent 61b97d8 commit 13b20be

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

notebooks/examples/visium_hd_mouse_brain.ipynb

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
"/mnt/home/stephen.williams/micromamba/envs/spatialdata-io/lib/python3.12/site-packages/pyproj/network.py:59: UserWarning: pyproj unable to set PROJ database path.\n",
1616
" _set_context_ca_bundle_path(ca_bundle_path)\n",
1717
"/mnt/home/stephen.williams/micromamba/envs/spatialdata-io/lib/python3.12/site-packages/xarray_schema/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.\n",
18-
" from pkg_resources import DistributionNotFound, get_distribution\n"
18+
" from pkg_resources import DistributionNotFound, get_distribution\n",
19+
"/mnt/home/stephen.williams/micromamba/envs/spatialdata-io/lib/python3.12/site-packages/anndata/__init__.py:44: FutureWarning: Importing read_text from `anndata` is deprecated. Import anndata.io.read_text instead.\n",
20+
" return module_get_attr_redirect(attr_name, deprecated_mapping=_DEPRECATED)\n"
1921
]
2022
},
2123
{
@@ -35,6 +37,7 @@
3537
"import tempfile\n",
3638
"import subprocess\n",
3739
"import scanpy as sc\n",
40+
"import spatialdata_plot\n",
3841
"\n",
3942
"print(f\"spatialdata_io=={sdio.__version__}\")\n",
4043
"print(f\"spatialdata=={sdata.__version__}\")"
@@ -46,7 +49,8 @@
4649
"metadata": {},
4750
"source": [
4851
"# Download Visium HD example dataset from 10x public data repository\n",
49-
"You'll need approximately 15 Gb of disk space"
52+
"\n",
53+
"You'll need approximately 15 Gb of disk space\n"
5054
]
5155
},
5256
{
@@ -103,7 +107,7 @@
103107
"id": "d3179312",
104108
"metadata": {},
105109
"source": [
106-
"# Read in Visium HD data"
110+
"# Read in Visium HD data\n"
107111
]
108112
},
109113
{
@@ -204,7 +208,7 @@
204208
"id": "cee7dab5",
205209
"metadata": {},
206210
"source": [
207-
"# Visualize the images and segmentations"
211+
"# Visualize the images and segmentations\n"
208212
]
209213
},
210214
{
@@ -289,7 +293,7 @@
289293
"id": "a51d631b",
290294
"metadata": {},
291295
"source": [
292-
"Now let's visualizes a relevant gene Hpca"
296+
"Now let's visualizes a relevant gene Hpca\n"
293297
]
294298
},
295299
{
@@ -352,7 +356,7 @@
352356
"id": "7a6e7f25",
353357
"metadata": {},
354358
"source": [
355-
"# Quality control and filtering"
359+
"# Quality control and filtering\n"
356360
]
357361
},
358362
{
@@ -461,7 +465,7 @@
461465
"id": "dcf446f2",
462466
"metadata": {},
463467
"source": [
464-
"# Normalization and Clustering"
468+
"# Normalization and Clustering\n"
465469
]
466470
},
467471
{
@@ -634,7 +638,8 @@
634638
"metadata": {},
635639
"source": [
636640
"# Calculate centroids\n",
637-
"Use nucleus centroids for this calculation for use in analyses like cell cell communication "
641+
"\n",
642+
"Use nucleus centroids for this calculation for use in analyses like cell cell communication\n"
638643
]
639644
},
640645
{

0 commit comments

Comments
 (0)