Skip to content

Commit d08200b

Browse files
author
Sonja Stockhaus
committed
test and changelog
1 parent cab5639 commit d08200b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning][].
2323
- Now dropping index when plotting shapes after spatial query (#177)
2424
- Points are now being correctly rotated (#198)
2525
- User can now pass Colormap objects to the cmap argument in render_images. When only one cmap is given for 3 channels, it is now applied to each channel (#188, #194)
26+
- Labels can now be colored by a continuous variable without setting `norm` (#201)
2627

2728
## [0.0.6] - 2023-11-06
2829

Loading

tests/pl/test_render_labels.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,6 @@ def test_plot_can_stack_render_labels(self, sdata_blobs: SpatialData):
7070
)
7171
.pl.show()
7272
)
73+
74+
def test_plot_can_color_labels_by_continuous_variable(self, sdata_blobs: SpatialData):
75+
sdata_blobs.pl.render_labels("blobs_labels", color="channel_0_sum").pl.show()

0 commit comments

Comments
 (0)