Skip to content

Commit dfefa2f

Browse files
committed
Added test for normalisation
1 parent 97a2767 commit dfefa2f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
43.8 KB
Loading

tests/pl/test_render_images.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,8 @@ def test_plot_can_pass_cmap_to_each_channel(self, sdata_blobs: SpatialData):
4646
sdata_blobs.pl.render_images(
4747
elements="blobs_image", channel=[0, 1, 2], cmap=["Reds", "Greens", "Blues"]
4848
).pl.show()
49+
50+
def test_plot_can_normalize_image(self, sdata_blobs: SpatialData):
51+
sdata_blobs.pl.render_images(
52+
elements="blobs_image", quantiles_for_norm=(5, 90)
53+
).pl.show()

0 commit comments

Comments
 (0)