I'm seeing a memory leak with calls to subplot.clear() and canvas.draw()
on MacOS. The same code shows no leakage on unix.
Here is a simple script that demonstrates the problem.
#!/usr/bin/env python
from __future__ import division
"""Demonstrate a memory leak in matplotlib on MacOS with TkAgg
On 10/15/14 3:19 PM, Russell Owen wrote:
> I have a polar graph that works fine on linux but is blank on MacOS
> 10.9. Here is a minimal working example (using the API because it is
> part of a larger Tkinter application):
>
> #!/usr/bin/env python2
> import Tkinter
> imp
I have a polar graph that works fine on linux but is blank on MacOS
10.9. Here is a minimal working example (using the API because it is
part of a larger Tkinter application):
#!/usr/bin/env python2
import Tkinter
import matplotlib
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
On Aug 22, 2013, at 8:24 PM, Matt Terry wrote:
> > with/without third party X
> I'm not quite sure what you mean by with/without third party X. If you
> are referring to Tck/Tk:
>
> I had an issue where MPL found the headers to freetype in /opt/local, but
> library in /usr/X11. Hilarity ensue
On Aug 23, 2013, at 8:14 AM, Matt Terry wrote:
> I'm banging away at installing MPL on top of python.org's python. I'm at the
> libfreetype/freetype issue. There seems to be three approaches to getting
> MPL's dependencies.
>
> 1) install libpng[1] and freetype[2] from source
> 2) install XQ
Yes at some point, but I don't have a git repository for matplotlib yet so it
may take me awhile. It's a one-liner as per the posting.
-- Russell
On Feb 14, 2012, at 2:50 PM, Benjamin Root wrote:
> On Tuesday, February 14, 2012, Russell E. Owen wrote:
> > I just created a binary installer for
.py
>
I would be interested to see your code if it is available. What back
end are you using?
Regards,
-- Russell
On Dec 12, 2010, at 8:08 AM, Friedrich Romstedt wrote:
2010/12/12 Russell Owen :
Simply creating a blank Axes and calling canvas.draw() leaks memory
-- even without disp
n Dec 12, 2010, at 8:08 AM, Friedrich Romstedt wrote:
> 2010/12/12 Russell Owen :
>> 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()?
>
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 call
On Sep 24, 2010, at 4:15 PM, Benjamin Root wrote:
On Fri, Sep 24, 2010 at 5:47 PM, Russell E. Owen wrote:
In article
,
Benjamin Root wrote:
> On Fri, Sep 24, 2010 at 12:30 PM, Russell E. Owen
> wrote:
>
> > I'm making a set of plots (a strip chart) stacked on top of each
other,
> > all s
On Sep 22, 2010, at 11:16 AM, Benjamin Root wrote:
On Wed, Sep 22, 2010 at 12:04 PM, Russell E. Owen
wrote:
In article <4c935c08.1000...@gmail.com>,
Alan G Isaac
wrote:
> http://matplotlib.sourceforge.net/examples/pylab_examples/accented_text.html
It's realistic, and that has a lot to be
On Aug 12, 2010, at 7:37 AM, Tony S Yu wrote:
On Aug 12, 2010, at 1:08 AM, Russell E. Owen wrote:
I'm making a strip chart widget (which I plan to make publicly
available
when finished). The basics are working fine, but the automatic
sizing is
not doing so well. Strip charts are typically s
On Aug 9, 2010, at 8:17 AM, Friedrich Romstedt wrote:
> 2010/8/7 Russell E. Owen :
>> In article ,
>> Stephen T.
>> wrote:
>>
>>> Hi, I am having trouble installing matplotlib. I have OS X 10.5
>>> with Python
>>> 2.6
>>> downloaded and installed from python.org.
>>> (10.5 came with Apple
>
On Jul 2, 2010, at 7:43 AM, John Hunter wrote:
> On Thu, Jul 1, 2010 at 6:17 PM, Russell E. Owen wrote:
>
>> matplotlib-0.99.3-Apple-py2.6-macosx10.6.dmg
>> for your existing binary, and
>> matplotlib-0.99.3-python-py2.5-macosx10.4.dmg
>> matplotlib-0.99.3-python-py2.6-macosx10.4.dmg
>
> OK, th
14 matches
Mail list logo