doh! I hate to spam the mailing list, but I didn't respond to your
other question.

I tested this out on the MacOSX and TkAgg backends (the only ones I
have available on this  machine). The MacOSX backend suffered from the
bug I mentioned earlier (no 'motion_notify_event' for click+drag
middle mouse) but the TkAgg worked fine.

On Thu, Oct 7, 2010 at 11:19 AM, braingram <braingram...@gmail.com> wrote:
> Thanks for catching that! I added the changes to mouse_init and
> improved the panning so it works more consistently at different 'zoom'
> levels and attached an updated patch.
>
> I tried to sort out the clipping issue you mentioned but failed to
> wrap my head around how to clip the 3d data. It looks like (at least
> in the svn trunk) there is no clipping of the 3d data (I tried
> panning, zooming, and changing the axis limits and saw no clipping).
> I'm also unsure how to make 3d subplots. I might just be too lost to
> fix this one but if I make any progress I'll pass it along.
>
> On Wed, Oct 6, 2010 at 4:57 PM, Benjamin Root <ben.r...@ou.edu> wrote:
>> 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