|
From: Steve S. <el...@gm...> - 2006-06-06 11:17:10
|
leau2001 wrote: > I made some figure in a loop and i want to close after the figure show. > Not absolutely sure what you mean, but to produce some plots and save them in a loop I do f = figure() for i in range(..): plot(...) savefig(...) f.clf() # clear figure for re-use close(f) cheers, steve -- Random number generation is the art of producing pure gibberish as quickly as possible. |