Re: [Matplotlib-users] How to clean memory after plots ?

2006-12-21 Thread Sebastian Busch
Giorgio Luciano wrote: > ... when I restart the function ... all plots freeze. can you give an example? In [1]: from pylab import * In [2]: def f(x): ...: return 2*x ...: In [8]: plot f(array(range(10))) --> plot(f(array(range(10 Out[8]: [] In [9]: show --> show() In [10

[Matplotlib-users] How to clean memory after plots ?

2006-12-20 Thread Giorgio Luciano
I've done some prograss about visualising my plots from a function, but after searching in the FAQ and also in the amiling list archive i dint' find any solution to this. I have a function that computes some data for a plot. I call the function and then use show. Everything work fine. Then I clo