Skip to content

Commit

Permalink
update scanpy _color_vector usage
Browse files Browse the repository at this point in the history
  • Loading branch information
katosh committed Apr 4, 2024
1 parent 0b3e33c commit e1d810c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/palantir/plot.py
Expand Up @@ -949,7 +949,7 @@ def prepare_color_vector(

color_source_vector = _get_color_source_vector(ad, color, layer=layer)
color_vector, categorical = _color_vector(
ad, color, color_source_vector, palette=palette, na_color=na_color
ad, color, values=color_source_vector, palette=palette, na_color=na_color
)
if mask is not None:
color_vector = color_vector[mask]
Expand Down

0 comments on commit e1d810c

Please sign in to comment.