Re: [Matplotlib-users] A question about pam/zoom functionality of navigationtoolbar

2007-11-11 Thread sunzen w.
John, On Nov 10, 2007 2:41 AM, John Hunter <[EMAIL PROTECTED]> wrote: > > Now that is a well focused question. Thank you for your teaching. ^_^. > > A little googling revealed that > > when a gtk drawing area (eg an matplotlib canvas) is placed in a gtk > > notebook, it needs to have the focus

Re: [Matplotlib-users] A question about pam/zoom functionality of navigationtoolbar

2007-11-09 Thread John Hunter
On Nov 9, 2007 12:37 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Nov 8, 2007 7:48 PM, sunzen w. <[EMAIL PROTECTED]> wrote: > > Mike, > > Thank you for your suggestion. > > I found that pan mode doesn't work as expected in page of notebook. > > The sample code is attached. > > Thanks for your fu

Re: [Matplotlib-users] A question about pam/zoom functionality of navigationtoolbar

2007-11-09 Thread John Hunter
On Nov 8, 2007 7:48 PM, sunzen w. <[EMAIL PROTECTED]> wrote: > Mike, > Thank you for your suggestion. > I found that pan mode doesn't work as expected in page of notebook. > The sample code is attached. > Thanks for your further guidance in advance. Now that is a well focused question. A little

Re: [Matplotlib-users] A question about pam/zoom functionality of navigationtoolbar

2007-11-08 Thread sunzen w.
Mike, Thank you for your suggestion. I found that pan mode doesn't work as expected in page of notebook. The sample code is attached. Thanks for your further guidance in advance. On Nov 8, 2007 9:27 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > All I can suggest is that you compare this scr

Re: [Matplotlib-users] A question about pam/zoom functionality of navigationtoolbar

2007-11-08 Thread Michael Droettboom
sunzen w. wrote: > I try to rebuild a small sample code, which is attached. Amazingly, > the pan mode is normal for this sample code. However, the problem > existing in my application code is still not yet identified. > > What's the possible reasons? What kind of further information i should > p

Re: [Matplotlib-users] A question about pam/zoom functionality of navigationtoolbar

2007-11-08 Thread sunzen w.
John, Thank you for your response. On Nov 7, 2007 10:13 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Nov 7, 2007 7:17 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > > Michael> I'm not sure what you mean by "can't work on my canvas". Can you > Michael> provide a small code sample that show

Re: [Matplotlib-users] A question about pam/zoom functionality of navigationtoolbar

2007-11-07 Thread John Hunter
On Nov 7, 2007 7:17 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: Michael> I'm not sure what you mean by "can't work on my canvas". Can you Michael> provide a small code sample that shows it not working? Sunzen, Here is a reference example in which the x and y constrained panning do work in

Re: [Matplotlib-users] A question about pam/zoom functionality of navigationtoolbar

2007-11-07 Thread Michael Droettboom
I'm not sure what you mean by "can't work on my canvas". Can you provide a small code sample that shows it not working? Cheers, Mike sunzen w. wrote: > I'm sad to see that there is no answer to my question over these days. > Active development of matplotlib needs a lot of users. > > On Oct 31,

Re: [Matplotlib-users] A question about pam/zoom functionality of navigationtoolbar

2007-11-06 Thread sunzen w.
I'm sad to see that there is no answer to my question over these days. Active development of matplotlib needs a lot of users. On Oct 31, 2007 11:17 AM, sunzen w. <[EMAIL PROTECTED]> wrote: > The question is: how to enable panning/zooming operation to be constrained > to the x axis or y axis? > >

[Matplotlib-users] A question about pam/zoom functionality of navigationtoolbar

2007-10-30 Thread sunzen w.
The question is: how to enable panning/zooming operation to be constrained to the x axis or y axis? The Tutorial says, [about Pam Mode] If you press 'x' or 'y' while panning, the motion will be contrained to the x or y axis, respectively [about Zoom Mode] You can use the modifier keys 'x', 'y' or