mask_obs
parameter modifies obs column when calling scatterplot
#3400
Labels
mask_obs
parameter modifies obs column when calling scatterplot
#3400
Please make sure these conditions are met
What happened?
When I plot a function with
mask_obs
and call a scatterplot with at least 1 color, the function modifies the column in place. This is not what I would expect when I want to plot subsets of my data.I believe the following code should make a copy of the column:
scanpy/src/scanpy/plotting/_tools/scatterplots.py
Lines 1195 to 1198 in 391d87a
Minimal code sample
Error output
Versions
The text was updated successfully, but these errors were encountered: