ValueError: Transformation to global not found in element
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:
I don't know whether it's a bug for latest version.
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
Hi, i tried it, but it didn't work.
---- Replied Message ---- | From | @.> | | Date | 01/22/2025 18:05 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [scverse/spatialdata-plot] ValueError: Transformation to global not found in element (Issue #410) |
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
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
Which error did you get? Please try also with coordinate_systems=['pixel'].
Hi,there isn't 'pixel' in my 'coordinate systems', it's 'pixels' :
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:
Thanks for sharing the extra details. CC @timtreis