Re: [matplotlib-devel] [Python-modules-team] Bug#585442: python-matplotlib: crashes when calling axis() after imshow()

2010-06-23 Thread Michael Droettboom
On 06/22/2010 06:56 PM, Eric Firing wrote: > >> 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 figure out what the >> threshold is beyond which it f

Re: [matplotlib-devel] [Python-modules-team] Bug#585442: python-matplotlib: crashes when calling axis() after imshow()

2010-06-23 Thread Michael Droettboom
SVN r8457 has what I think is an ideal solution. Unbeknownst to me, the clipping I added to speed up rendering of highly magnified images was being done in integers. Agg does provide an option to do this in doubles, and using that seems to prevent the image from disappearing. It even renders