I've searched a bit in the FAQ, since in the last days I'm struggling with the show and close command.

I've got a function that calculate values to plot. I calculate plot, use show command and everything goes fine.

I close the figure recalculate values and then replot and everything freezes because the show command seems still active.

I've tried to start IDLE using -n option but no solution. the plots freezes and I loose all calculations, and then I have to restart. reload etc..

I tried also to turn interactive off but no way of solving.

I'm using WIN XP

python 2.5

numpy 1.01

scipy 0.52

matplotlib 0.87.7

and I don't want to come back to matlab Since in matlab it's very common to calculate something, recalculate, plot etc. etc.

Any help would be very appreciated.

If needed I can post function and file I'm using in .tar

Giorgio