|
From: Darren D. <dd...@co...> - 2006-12-21 11:03:55
|
On Thursday 21 December 2006 5:04 am, Giorgio Luciano wrote: > 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. Try setting interactive : True in your matplotlibrc file, and restart your idle -n session. Then you shouldn't even need to use the show() command, the behavior will be very similar to matlab. Darren |