Skip to content

Commit 5a8a711

Browse files
committed
fade into transparent now
1 parent ccc4954 commit 5a8a711

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spatialdata_plot/pl/render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ def _render_images(
10041004
# 2C) Image has n channels and palette info
10051005
# immitating Napari's multi-channel additive blending (SRC_ALPHA, ONE):
10061006
elif palette is not None and not got_multiple_cmaps:
1007-
channel_cmaps = [_get_linear_colormap([c], "k")[0] for c in palette]
1007+
channel_cmaps = [_get_linear_colormap([c], "transparent")[0] for c in palette]
10081008

10091009
sample = next(iter(layers.values()))
10101010
H, W = sample.shape

0 commit comments

Comments
 (0)