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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users