Error plotting selected clusters on top on image layer
@michalk8 is already working on this.
Since Jun 22, 2023.
- Dominant language
- Python
- Stars
- 598
- Forks
- 121
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 3
Description
Hello, I have a question about this tutorial: https://squidpy.readthedocs.io/en/latest/notebooks/examples/plotting/plot_segment.html. In this tutorial, you have plotted fibroblast and epithelial clusters at once on two FOVs:
But when these are plotted without the image here, their "locations" seem to have been inverted i.e. "Fibroblasts" (which are green below) are designated in locations where "Epithelial" (in orange) appear above, but the legend indicating color and cell type remains the same. Why is this happening?
I am facing the same issue in my dataset - when I plot all leiden clusters vs. plot only 2 selected clusters using the 'group' argument, their locations don't agree. I came to the tutorial looking for an answer, and was surprised to see the same behavior, any help will be appreciated. Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.