[Jeff -- I don't know why your original e-mail never got delivered to 
me, but I was able to see it in the archive.]

The problem arises on platforms with 64-bit pointers -- in Numpy the 
datatype used to store the shape of an array is different from the 
datatype used to specify the shape of an array.  (I presume this 
difference is to maintain backward compatibility, but I'll probably fire 
an e-mail off on the Numpy list).

There is a possible fix for this in SVN r4445.  Can you please let me 
know if that works for you?

Cheers,
Mike

John Hunter wrote:
> On Nov 26, 2007 9:48 AM, Jeff Whitaker <[EMAIL PROTECTED]> wrote:
>> Michael:  I'm seeing the following error on OS X (Tiger) with numpy
>> 1.0.4 when building the latest svn transforms branch:
> 
> And in mostly unrelated news, I'm seeing the following traceback on
> zoom-to-rect from the toolbar in gtkagg on the transforms branch:
> 
> 
> AttributeError: 'TransformedBbox' object has no attribute 'get_bounds'
> Traceback (most recent call last):
>   File 
> "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py",
> line 227, in motion_notify_event
>     FigureCanvasBase.motion_notify_event(self, x, y)
>   File 
> "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/backend_bases.py",
> line 941, in motion_notify_event
>     self.callbacks.process(s, event)
>   File 
> "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/cbook.py",
> line 157, in process
>     func(*args, **kwargs)
>   File 
> "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/backend_bases.py",
> line 1359, in mouse_move
>     self.draw_rubberband(event, x, y, lastx, lasty)
>   File 
> "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py",
> line 552, in draw_rubberband
>     l,b,w,h = [int(val) for val in ax.bbox.get_bounds()]
> AttributeError: 'TransformedBbox' object has no attribute 'get_bounds'

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to