-
I've modified src/_macosx.m and uploaded it to trunk (revision #7918).
Nicholas, could you try this new version and see if the problem has been solved?
You can find the code here:
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/src/_macosx.m?view=markup&pathrev=7918.
2009-11-03 14:02:34 UTC in matplotlib
-
mdehoon committed revision 7918 to the matplotlib SVN repository, changing 1 files.
2009-11-03 13:53:57 UTC in matplotlib
-
The memory leak is not in the png image creation itself but is due, at least in part, to circular references in the FigureCanvasBase class.
By taking the canvas creation out ot the loop:
fig = Figure(figsize=(1,1))
canvas = FigureCanvas(fig)
for counter in xrange(50000):
canvas.print_png('/tmp/a.png')
you won't see a continuous increase in memory usage.
Note also that the...
2009-11-03 02:28:08 UTC in matplotlib
-
mdehoon committed revision 7627 to the matplotlib SVN repository, changing 1 files.
2009-09-02 00:44:16 UTC in matplotlib
-
mdehoon committed revision 7625 to the matplotlib SVN repository, changing 5 files.
2009-09-01 14:06:35 UTC in matplotlib
-
Recently the way draw_image, draw_quad_mesh, and draw_path_collection are called was changed, adding the graphics context to the arguments and removing the clipping information from the argument list. The attached patch updates the Mac OS X backend to properly handle the new set of arguments. I have also added a call to gc.restore() for each new call to new_gc(); this is necessary for the Cairo...
2009-08-26 10:19:22 UTC in matplotlib
-
This patch allows the Mac OS X backend to be compiled and used with 64-bits Python compiled on Mac OS X 10.5.
2009-07-31 09:51:38 UTC in matplotlib
-
Currently, /usr/X11R6 is included in basedir['darwin']. Recently, this caused linker problems on Mac OS X; see
http://sourceforge.net/mailarchive/message.php?msg_name=b14b627d0907100359t31ed202ax8adbe2e591b9164c%40mail.gmail.com
As far as I can tell, /usr/X11R6 is not needed in basedir['darwin']. The GTKAgg, GTKCairo, TkAgg, Qt4Agg, and WxAgg all seem to build and run fine both on Mac OS X...
2009-07-19 14:49:54 UTC in matplotlib
-
Currently, setupext.py does not read the information in setup.cfg on whether the Mac OS X native backend should be built.
The patch adds the two missing lines to setupext.py to read this information.
2009-07-09 10:52:41 UTC in matplotlib
-
This patch improves the speed performance of the cairo backend, solves one bug, and simplifies the code. The most dramatic speed improvement is seen with polar_scatter.py, which is more than twenty times faster after applying this patch. Also included with this patch is the same modification to the Mac OS X backend.
The key point of this patch is to keep track of the underlying pycairo...
2009-05-16 17:00:47 UTC in matplotlib