Re: [Matplotlib-users] Using matplot lib in wxPython problem refresh screen

2008-03-14 Thread Giorgio F. Gilestro
your self.show() is passing the order to the frame; you need to comunicate with the canvas with draw() I suggest you to use wxmpl, it is the best way to integrate mpl into wx http://agni.phys.iit.edu/~kmcivor/wxmpl/ Bob Cumming wrote: > Hello, > > I have a problem when I try to refresh a plot

[Matplotlib-users] Using matplot lib in wxPython problem refresh screen

2008-03-14 Thread Bob Cumming
Hello, I have a problem when I try to refresh a plot I create. The code is shown below: What I want to do is that when the user initiates a key press the plot is updated. (If you minimise and maximise then it is done, the problem is the repainting of the window. I have tried searching on