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.
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users