On Mon, Dec 15, 2008 at 6:20 AM, vehemental <jimmy.pail...@gmail.com> wrote:
> The program is working as expected...except memory wise...the program keeps > growing... > each time plot is pressed it's growing...I believe it's due to some poor > programming on my side, but I can't really put my finger on it right now. I > suspect that I have 2 competing mainloop maybe but i' m not really sure By default matplotlib overplots, so every time you call plot a new line is added to the canvas. You can turn this behavior off using the hold method ax.hold(False) or setting the axes.hold rc parameter -- see http://matplotlib.sourceforge.net/users/customizing.html JDH ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users