[Matplotlib-users] memory leak on MacOS with TkAgg

2014-10-22 Thread Russell Owen
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

Re: [Matplotlib-users] TkAgg problem: blank plot on MacOS

2014-10-17 Thread Russell Owen
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

[Matplotlib-users] TkAgg problem: blank plot on MacOS

2014-10-15 Thread Russell Owen
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

Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!

2013-08-23 Thread Russell Owen
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

Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!

2013-08-23 Thread Russell Owen
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

Re: [Matplotlib-users] 64-bit matplotlib 1.1.0 installer available

2012-02-14 Thread Russell Owen
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

Re: [Matplotlib-users] Memory leak; user error or bug?

2010-12-13 Thread Russell Owen
.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

Re: [Matplotlib-users] Memory leak; user error or bug?

2010-12-12 Thread Russell Owen
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()? >

Re: [Matplotlib-users] Memory leak; user error or bug?

2010-12-11 Thread Russell Owen
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

Re: [Matplotlib-users] Tying X axes information together in multiple subplots?

2010-09-24 Thread Russell Owen
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

Re: [Matplotlib-users] another incorrectly clipped PNG in the gallery

2010-09-22 Thread Russell Owen
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

Re: [Matplotlib-users] Hints on sizing plot elements?

2010-08-12 Thread Russell Owen
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

Re: [Matplotlib-users] installation of matplotlib on OS X 10.5 with python.org Python 2.6

2010-08-09 Thread Russell Owen
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 >

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-02 Thread Russell Owen
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