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
Points not transformed when method="datashader" #337
As per the title, I just ran into a case where datashader was chosen as the method for render_points, which led to my points being plotted without the relevant transformation being applied. I stole the example from #182 for testing below.
@Marius1311 thanks for reporting. How did you construct sdata_cropped? It would be helpful for us if you could please reproduce your bug using the blobs dataset.
@clwgg Thanks for reporting! I reproduced the problem without the image in the background which led to the points being shifted by 0.5 when using datashader (because of #216).
Activity
LucaMarconato commentedon Sep 8, 2024
Thanks for reporting. Please see the discussion on this issue also here: #291.
Marius1311 commentedon Sep 13, 2024
I think I'm seeing a consequence of that in my own data. Calling
( sdata_cropped .pl.render_points(TRANSCRIPT_KEY, size=1, color="red", method="matplotlib") .pl.show() )works just fine, but when using
method="datashader", I getLucaMarconato commentedon Sep 30, 2024
@Marius1311 thanks for reporting. How did you construct
sdata_cropped? It would be helpful for us if you could please reproduce your bug using theblobsdataset.You can access it via one of these two functions:
CC @melonora
Sonja-Stockhaus commentedon Oct 25, 2024
@clwgg Thanks for reporting! I reproduced the problem without the image in the background which led to the points being shifted by 0.5 when using datashader (because of #216).
With this, I get a) before:
b) after my fix (#378):

timtreis commentedon Oct 30, 2024
@clwgg could you verify that Sonja's branch fixes the issue for you as well? :) Thanks!