Thank you all for your answers. Setting "interactive : True" is often suggested to me but it does not solve my problem. I tried different other things (following your advices) but I still have the same problem. Maybe the source of my problem is the fact that I use the SciTE editor. What do you think about that ? Any other idea ? Thanks again, Cédric
On 7 mai, 14:50, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 4 Mai, 15:57, redcic <[EMAIL PROTECTED]> wrote: > > > I've already got this package. I just wanted to try something new. > > > However, since you talk about it, I've got a question regarding this > > package. The execution of the code stops after the line: > > pylab.show() > > which is off course the last line of my code. My problem is that I > > have to close the figure window in order to launch my program another > > time. I'd like to be able to launch my program many times with > > different parameters without having to close the figure windows before > > each launch. > > Just so you know, I'm using TkAgg backend. > > > Any hint ? > > There's an option in your matplotlibrc file (personal lives in > $HOME/.matplotlib, default in $PYTHONPATH/matplotlib/mpl-data): > > #### CONFIGURATION BEGINS HERE > # the default backend; one of GTK GTKAgg GTKCairo FltkAgg QtAgg TkAgg > # Agg Cairo GD GDK Paint PS PDF SVG Template > backend : TkAgg > numerix : numpy # numpy, Numeric or numarray > interactive : True # > seehttp://matplotlib.sourceforge.net/interactive.html > ..... > > Take a look at the quoted webpage for details and troubleshooting. > > Bernhard -- http://mail.python.org/mailman/listinfo/python-list