[Matplotlib-users] xlim changes without explicit calling of set_xlim

2008-01-14 Thread sunzen w.
Hi, all I found a problem about xlim. It sometimes changes when there is no explicit calling of set_xlim. My application scenario is : at some situation replot the second one of two subplots, which shares x axis with the first one. To finish the replot operation, i first use clear() method to remo

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-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 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-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

[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

Re: [Matplotlib-users] [Help] Broken_barh Picking design using the OO interface

2007-10-30 Thread sunzen w.
Just for information, i change from broken_barh to just barh, so as to easily set picker property. It satisfies my needs now. Just for exploration, does anyone know how to implement it by using broken_barh()? On 10/26/07, sunzen w. <[EMAIL PROTECTED]> wrote: > > Hi Gurus, >

Re: [Matplotlib-users] [Help] Broken_barh Picking design using the OO interface

2007-10-26 Thread sunzen w.
Hi Gurus, (I'm sorry for sending the above unfinished one) I'm new to matplotlib programming, and get puzzled about designing picking handler for broken_barh by the OO interface. Could you give me any guidance? Any your help will be appreciated. My current approach is presented as the fol

[Matplotlib-users] [Help] Broken_barh Picking design using the OO interface

2007-10-26 Thread sunzen w.
Hi Gurus, I'm new to matplotlib programming, and get puzzled about designing picking handler for broken_barh by the OO interface. My current approach is presented as the following: 1. plot broken_barh and set picker pcol = axes.broken_barh(xseq, yseq, facecolors = colors) pcol.set_picker(T