Tim Treis

Results 121 comments of Tim Treis

@Sonja-Stockhaus did we discuss this at one point? I've been ignoring that warning for a long time because it's thrown my matplotlib and doesn't fail

![image](https://github.com/user-attachments/assets/fd2b4e22-acfb-4f3b-ad06-eb7b8a173c7a) This PR also introduces a bg_threshold parameter based on which we can exclude pixels for the PCA normalisation, f.e. in this composite

Thank you @sophiamaedler !

> I think adding a b/w-transformed image to the spatialdata object is an extra step that we could avoided. Agree on this. I like the idea 🤔

Don't like 3) either. Vaguely related to https://github.com/scverse/spatialdata-plot/pull/349 in which I have to refactor the entire logic anyway. One option would be to add `cbar_title` to the individual calls

How does it look like if you create an `ax` and then push two separate calls onto it?

hm, meh. Yeah, the legends/colorbars for two plots on the same axis are lacking

Extremely interested in this, thanks @quentinblampey !!

Hey @tsvvas, I assume you have an image with 4 channels that you're trying to map the individual colors to, right? As Luca said, you can use the palette argument...

The argument is actually called `channel` without the s, could you try that? It requires 5 colors since you're not limiting the channels and therefore it uses all 5 you...