spatialdata-plot icon indicating copy to clipboard operation
spatialdata-plot copied to clipboard

Datashader doesn't speed up rendering of points

Open timtreis opened this issue 1 year ago • 1 comments

To get a feeling for when rendering with datashader is faster than matplotlib, we prepared a notebook contrasting the two: https://github.com/scverse/spatialdata-notebooks/blob/main/notebooks/examples/speed_up_illustration.ipynb

However, in doing so we found that rendering points is not really sped up for some reason.

Image

Why is that?

cc @Sonja-Stockhaus

timtreis avatar Oct 25 '24 15:10 timtreis

Very strange, was this maybe due to the old implementation in which the figure size of datashader was given by the value of the coordinates/transformed coordinates? I think this has now been fixed. Also a way to test for that is to make random points with bound values (like points with coordinates in [0, 1]).

LucaMarconato avatar Jan 05 '25 19:01 LucaMarconato