2010/12/12 Russell Owen ro...@uw.edu:
Simply creating a blank Axes and calling canvas.draw() leaks memory -- even
without displaying any data or shifting the x axes.
Okay, as a workaround have you tried ax.clear()?
So the example script provided by you can be boiled down further?
I'm using
I've boiled it down to nearly nothing as a script attached to this bug report:
https://sourceforge.net/tracker/?func=detailatid=560720aid=3124990group_id=80706
it simply creates an Axis and then regularly shifts the x axis limits and calls
canvas.draw() to display the change. (It also reports
2010/12/1 Russell E. Owen ro...@uw.edu:
I'm seeing a nasty memory leak in my strip chart widget using matplotlib
1.0, TkAgg and Mac OS X 10.5
I've posted a minimal version here:
http://www.astro.washington.edu/users/rowen/python/MinimalStripChartWdg.
py
It doesn't seem to matter if I use
I am sort of adding data points; what I'm really doing is appending data to a
python list and setting the data in the Line object to that list. The list gets
shortened every once in awhile to keep the amount of data from getting too
large.
It turns out the leak is in canvas.draw(), which I
I'm seeing a nasty memory leak in my strip chart widget using matplotlib
1.0, TkAgg and Mac OS X 10.5
I've posted a minimal version here:
http://www.astro.washington.edu/users/rowen/python/MinimalStripChartWdg.
py
It doesn't seem to matter if I use the animation API or not (the example
does
On 12/01/2010 01:40 PM, Russell E. Owen wrote:
I'm seeing a nasty memory leak in my strip chart widget using matplotlib
1.0, TkAgg and Mac OS X 10.5
I've posted a minimal version here:
http://www.astro.washington.edu/users/rowen/python/MinimalStripChartWdg.
py
It doesn't seem to matter if
In article 4cf69ba4.1000...@stsci.edu,
Michael Droettboom md...@stsci.edu
wrote:
On 12/01/2010 01:40 PM, Russell E. Owen wrote:
I'm seeing a nasty memory leak in my strip chart widget using matplotlib
1.0, TkAgg and Mac OS X 10.5
I've posted a minimal version here:
23 MB RPRVT @ 7:52 PM
40 MB RPRVT @ 8:07 PM
matplotlib 1.0.0
OSX 10.6.5
python.org python, 2.6.6
On Wed, Dec 1, 2010 at 6:53 PM, Russell E. Owen ro...@uw.edu wrote:
In article 4cf69ba4.1000...@stsci.edu,
Michael Droettboom md...@stsci.edu
wrote:
On 12/01/2010 01:40 PM, Russell E. Owen