Re: [Matplotlib-users] y-axis autoscale problem

2006-09-15 Thread Richard Harvey Chapman
ame = AnalysisPlotFrame(None) self.SetTopWindow(frame) frame.Show(True) return True if __name__ == '__main__': if 1: app = MyApp(redirect=0) app.MainLoop() On Sep 15, 2006, at 1:06 PM, John Hunter wrote: "Richard" == Ri

[Matplotlib-users] y-axis autoscale problem

2006-09-15 Thread Richard Harvey Chapman
I'm using the latest matplotlib with wxPython 2.6.2.1 and the WxAGG backend. I have plotted a figure with 5 subplots. I intentionally only plotted the first 10 points of all of my data traces so I can simulate the look of real-time data. That is, I keep my xlim set to (now-60, now) for a window sho

Re: [Matplotlib-users] Canvas change events?

2006-09-06 Thread Richard Harvey Chapman
Thank you! I realized later how to do this when I realized that I hadn't looked at the code for the canvases. R. On Aug 29, 2006, at 12:08 AM, John Hunter wrote: "Richard" == Richard Harvey Chapman [EMAIL PROTECTED]> writes: Richard> Briefly, is there a way to

[Matplotlib-users] Canvas change events?

2006-08-22 Thread Richard Harvey Chapman
Briefly, is there a way to get a callback in the event that the canvas has been redrawn (e.g. from a zoom or pan)? matplotlib 0.86.2 python 2.4.1 wxPython 2.6.2.1 Mac OS X.4.7 I draw a circle at a certain point. I let the user drag that point to a new location. However, if the plot is redraw