On Wed, Oct 6, 2010 at 3:45 PM, braingram <braingram...@gmail.com> wrote:

> I fiddled around with the mplot3d axes3d panning today with some
> useful results. I've never submitted a patch before so please let me
> know if I did so incorrectly.
>
> On a related note, I noticed that middle mouse click+drags were not
> triggering 'motion_notify_event' events with the mac osx backend.
> However, when I Option(Alt) left mouse click+dragged The events were
> being triggered. I'm not sure if this is a osx thing or something to
> do with how the backend is passing on the event.
>
>
Thanks for this, but if I recall, the panning feature was disabled because
of problems with (not) clipping the image outside the viewing area (which is
noticeable when doing subplots).  Which backends have you tested this for?
Note, I haven't time to test patches to mplot3d for another 2 weeks.

As an additional request, the mouse_init() function should have another
keyword argument added for pan_btn=2, and then use that to initialize
self._pan_btn in the function.  Then, instead of checking if the button
number is equal to 2, it should compare against self._pan_btn.

Ben Root
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to