Eric,
I should have left more comments about my change.
The issue is that the current slicing algorithm sometimes fails with
"_draw_unsampled_image" which support arbitrary affine transformation
of the image. The slicing gets wrong when the image is significantly
skewed or rotated. So, as a tempor
JJ,
In AxesImageBase._draw_unsampled_image, there is a call to
_get_unsampled_image(...noslice=True). When using imshow(Z,
interpolation='nearest'), this defeats the slicing that makes such a
difference when zooming and panning a small chunk of a large image.
Changing it to False makes imshow
On 06/22/2010 10:11 AM, Michael Droettboom wrote:
> SVN r8456 has a patch for the slowness Eric described when doing extreme
> magnification on an image.
Excellent!
>
> Unfortunately, this fix paves over the exception fixed earlier. Rather
> than getting an exception when the magnification is too
SVN r8456 has a patch for the slowness Eric described when doing extreme
magnification on an image.
Unfortunately, this fix paves over the exception fixed earlier. Rather
than getting an exception when the magnification is too high, it now
silently just doesn't draw the image. I'm trying to
Ok. Attached is a corrected patch.
Mike
On 06/22/2010 12:26 PM, Michael Droettboom wrote:
Hold off, actually. This patch seems to have broken some thing
inadvertently. Stay tuned...
Mike
On 06/22/2010 12:05 PM, Michael Droettboom wrote:
In r8454, I have a applied a fix that allows this C+
Hold off, actually. This patch seems to have broken some thing
inadvertently. Stay tuned...
Mike
On 06/22/2010 12:05 PM, Michael Droettboom wrote:
In r8454, I have a applied a fix that allows this C++ exception to
correctly percolate to the Python side -- the user will still get an
exceptio
In r8454, I have a applied a fix that allows this C++ exception to
correctly percolate to the Python side -- the user will still get an
exception, but it will be a Python exception and the interpreter itself
does not crash. (It used to work, but recent changes to CXX caused it
to break.) I h