|
From: Sergi P. F. <spo...@gm...> - 2012-05-25 08:30:53
|
> It seems that setting `interpolation='none'` is significantly slower than > setting it to 'nearest' (or even 'bilinear'). On supported backends (e.g. > any Agg backend) the code paths for 'none' and 'nearest' are different: > 'nearest' gets passed to Agg's interpolation routine, whereas 'none' does an > unsampled rescale of the image (I'm just reading the code comments here). > Could you check whether changing to `interpolation='nearest'` fixes this > issue? Yes, changing it really speeds-up the interactivity! The delay is now just a few ms, you can notice it's not completely smooth, but perfectly usable. I'll compare if when zoomed in any artifacts/distortion appear. Thank you! |