Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Transformation to global not found in element #410

Open
sunshx-bioinfo opened this issue Jan 22, 2025 · 5 comments
Open

ValueError: Transformation to global not found in element #410

sunshx-bioinfo opened this issue Jan 22, 2025 · 5 comments

Comments

@sunshx-bioinfo
Copy link

Hi, I get an error when I use spatialdata==0.3.0 and spatialdata-plot==0.2.9 to plot Shapes with method=="datashader", but method=="matplotlib" is ok! Here is my code:

Image

I don't know whether it's a bug for latest version.

@LucaMarconato
Copy link
Member

Hi @sunshx-bioinfo, you can pass coordinate_systems='pixel' to pl.show(), which should address your issue; but I agree, the default behavior with a single coordinate system should to use the only available one. CC @timtreis

@sunshx-bioinfo
Copy link
Author

sunshx-bioinfo commented Jan 22, 2025 via email

@LucaMarconato
Copy link
Member

Which error did you get? Please try also with coordinate_systems=['pixel'].

@sunshx-bioinfo
Copy link
Author

sunshx-bioinfo commented Jan 23, 2025

Hi,there isn't 'pixel' in my 'coordinate systems', it's 'pixels' :

Image

Image

so i passed coordinate_systems=='pixels' and coordinate_systems==['pixels'] to pl.show(), but both of them didn't work, the error is same as before:

Image

@LucaMarconato
Copy link
Member

Thanks for sharing the extra details. CC @timtreis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants