Skip to content

Commit 3155435

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent bdd34bb commit 3155435

7 files changed

Lines changed: 7 additions & 26 deletions

File tree

docs/gallery/basic/plot_render_labels.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"""
77

88
import spatialdata as sd
9+
910
import spatialdata_plot # noqa: F401
1011

1112
sdata = sd.datasets.blobs()

docs/gallery/basic/plot_render_points.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"""
77

88
import spatialdata as sd
9+
910
import spatialdata_plot # noqa: F401
1011

1112
sdata = sd.datasets.blobs()

docs/gallery/customization/plot_gene_cmap.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,4 @@
1111

1212
sdata = load_visium_breast_cancer()
1313

14-
(
15-
sdata.pl
16-
.render_images("tissue")
17-
.pl.render_shapes("spots", color="ERBB2", cmap="magma", fill_alpha=0.8)
18-
.pl.show()
19-
)
14+
(sdata.pl.render_images("tissue").pl.render_shapes("spots", color="ERBB2", cmap="magma", fill_alpha=0.8).pl.show())

docs/gallery/customization/plot_shapes_outline.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
sdata = load_visium_breast_cancer()
1313

1414
(
15-
sdata.pl
16-
.render_images("tissue")
15+
sdata.pl.render_images("tissue")
1716
.pl.render_shapes(
1817
"spots",
1918
fill_alpha=0.3,

docs/gallery/overlays/plot_color_by_category.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,4 @@
1111

1212
sdata = load_visium_breast_cancer()
1313

14-
(
15-
sdata.pl
16-
.render_images("tissue")
17-
.pl.render_shapes("spots", color="in_tissue", fill_alpha=0.7)
18-
.pl.show()
19-
)
14+
(sdata.pl.render_images("tissue").pl.render_shapes("spots", color="in_tissue", fill_alpha=0.7).pl.show())

docs/gallery/overlays/plot_color_by_gene.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,4 @@
1111

1212
sdata = load_visium_breast_cancer()
1313

14-
(
15-
sdata.pl
16-
.render_images("tissue")
17-
.pl.render_shapes("spots", color="ERBB2", fill_alpha=0.8)
18-
.pl.show()
19-
)
14+
(sdata.pl.render_images("tissue").pl.render_shapes("spots", color="ERBB2", fill_alpha=0.8).pl.show())

docs/gallery/overlays/plot_images_shapes.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,4 @@
1111

1212
sdata = load_visium_breast_cancer()
1313

14-
(
15-
sdata.pl
16-
.render_images("tissue")
17-
.pl.render_shapes("spots", fill_alpha=0.5)
18-
.pl.show()
19-
)
14+
(sdata.pl.render_images("tissue").pl.render_shapes("spots", fill_alpha=0.5).pl.show())

0 commit comments

Comments
 (0)