Talk:Matplotlib
Appearance
Claim of memory leaks
On the article page, I claimed that "as of October 2005, basic plotting commands in Matplotlib suffer from memory leaks." Someone will probably dispute me on that (or perhaps show how it can be avoided). Here's how I tested for memory leaks:
>>> from pylab import * >>> plot(range(10000), range(10000)) >>> show() >>> plot(range(10000), range(10000)) >>> plot(range(10000), range(10000)) >>> plot(range(10000), range(10000)) >>> plot(range(10000), range(10000)) >>> plot(range(10000), range(10000)) >>> plot(range(10000), range(10000))
Note how the process memory usage increases continuously with each new plot command. - Connelly 00:58, 14 October 2005 (UTC)