I have a problem :
I wrote a little GUI with glade, python and pygtk.
This GUI produce one or many figures to plot results, depend on what the user click.
To plot a new figure, I use from pylab import * an figure().
My GUI is a one windows GUI.
The problem is :
when 1 figure + the main window is open and I close this figure, the main window also close !
But when 2 (or more figure) + the main window are open when I close a figure, it close only this figure, non problem.
When my main scipt is run with the ipython console with 'run my_gui.py' , it works.
But with 'python my_gui.py', it doesn't work.
What is trick ?
CNRS - UMR5020
Universite Claude Bernard LYON 1
Laboratoire des Neurosciences et Systemes Sensoriels
50, avenue Tony Garnier
69366 LYON Cedex 07
04 37 28 74 64