You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extent calculation doesn't account for radius of Points #693
Just fixed scverse/spatialdata-plot#334 and noticed that the extent calculation does not account for the radius of points. In the first version of this picture we calculated this within spatialdata-plot but that has since moved upstream. It's realistically not super noticeable if these are small, but f.e. in our test case it stands out:
Can be mitigated through the pad_extent parameter in sdata.pl.show(), but figured I'd report anyway.
Activity
LucaMarconato commentedon Sep 8, 2024
That's strange; you are using
spatialdata.get_extent()right? In the API the radius is taken into account in the extent calculation:spatialdata/src/spatialdata/_core/data_extent.py
Line 51 in 8323e15