[matplotlib-devel] Annotations - negative points and pixels don't wrap

2010-12-10 Thread Stan West
Hi. The docs for Annotation [1] say that negative coordinates given for [ figure | axes ] [ points | pixels ] xycoords are to be interpreted relative to the top-right corner, but I found that they act relative to the bottom-left corner as for positive coordinates. This can be seen in the attached s

Re: [matplotlib-devel] PATCH: fix libpng URLs for OS X makefile

2010-12-10 Thread Christopher Barker
On 12/9/10 11:57 PM, Ludwig Schwardt wrote: > This patch reminded me to ask why the builtin libpng, zlib and > libfreetype on Mac OS 10.5 and later are not used to build Matplotlib, It may be because we still want to support OS-X 10.4 . Also, not everyone has X11 installed (or does everyone now?)

Re: [matplotlib-devel] memory leak in canvas.draw() in TkAgg

2010-12-10 Thread Michael Droettboom
I think I'm on to something -- it seems that text layout information has a cyclical reference that prevents the Text object from being freed. Can you apply the attached patch and let me know if it solves your issue? Mike On 12/10/2010 02:19 PM, Russell E. Owen wrote: You may have already seen

[matplotlib-devel] memory leak in canvas.draw() in TkAgg

2010-12-10 Thread Russell E. Owen
You may have already seen this in the general mailing list, but I've found what I think is a serious memory leak in matplotlib 1.0.0: it leaks memory every time canvas.draw() is called, at least when using TkAgg on unix and Mac. Admittedly many graphs do not need canvas.draw() to be called repe