The edits in src/spatialdata_plot/pl/utils.py from this PR https://github.com/scverse/spatialdata-plot/pull/765/changes highlight an opportunity to improve performance in the bounding box query APIs.
I suggest to check this only after we are done with the coordinate transformation refactoring, since after that the code in spatial_query.py will become much easier to read.
CC @timtreis who worked on this in spatialdata-plot.
The edits in
src/spatialdata_plot/pl/utils.pyfrom this PR https://github.com/scverse/spatialdata-plot/pull/765/changes highlight an opportunity to improve performance in the bounding box query APIs.I suggest to check this only after we are done with the coordinate transformation refactoring, since after that the code in
spatial_query.pywill become much easier to read.CC @timtreis who worked on this in spatialdata-plot.