You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
1
|
2
|
3
|
4
|
5
(6) |
6
|
7
|
8
(2) |
9
(15) |
10
(5) |
11
|
12
|
13
(4) |
14
(12) |
15
(5) |
16
(5) |
17
(3) |
18
(3) |
19
|
20
|
21
(3) |
22
(1) |
23
|
24
|
25
|
26
|
27
|
28
|
29
(1) |
30
(1) |
31
(7) |
|
import matplotlib.pyplot as plt fig = plt.figure() axes = fig.add_subplot(1, 1, 1) for x in (12, -12): for y in (12, -12): axes.annotate('X', (x, y), xycoords='axes points', color='r', ha='center', va='center') plt.show()
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?) I also notice that they are in: MacOSX10.4u.sdk (under X11) -- so maybe the static libs in there could be used. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no...
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 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 repeatedly > (which I suspect is how it has survived this long). This came up in the > context of a strip chart widget, where I am changing the x/time axis > limits regularly and calling canvas.draw() so that the change is visible. > > I submitted ticket 3124990 with a very simple demo script: > <https://sourceforge.net/tracker/?func=detail&atid=560720&aid=3124990&gro > up_id=80706> > (you can disable the setting the x limits if you want to see the leak in > its purest form, but then nothing changes visually on the graph). > > I just wanted to be sure folks know about it in hopes somebody might > have an idea how to fix it. I have not tried any other back ends. > > -- Russell > > > ------------------------------------------------------------------------------ > Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, > new data types, scalar functions, improved concurrency, built-in packages, > OCI, SQL*Plus, data movement tools, best practices and more. > http://p.sf.net/sfu/oracle-sfdev2dev > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA
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 repeatedly (which I suspect is how it has survived this long). This came up in the context of a strip chart widget, where I am changing the x/time axis limits regularly and calling canvas.draw() so that the change is visible. I submitted ticket 3124990 with a very simple demo script: <https://sourceforge.net/tracker/?func=detail&atid=560720&aid=3124990&gro up_id=80706> (you can disable the setting the x limits if you want to see the leak in its purest form, but then nothing changes visually on the graph). I just wanted to be sure folks know about it in hopes somebody might have an idea how to fix it. I have not tried any other back ends. -- Russell
Hi, 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, removing the need to download these extra libraries. I was pleased to discover that Snow Leopard shipped with libpng and libfreetype as part of X11, only to find that even my old Leopard installation had them. I've been successfully building Matplotlib against them on both platforms. Besides skipping the download step, these libraries have the advantage of being correct universal binaries, eliminating another potential stumbling block. The only problem would be if these libraries were outdated, but I haven't come across any problems yet. For the record, I set the following environment variables in ~/.profile on Snow Leopard: # These compiler flags ensure 32-bit + 64-bit code generation, as Snow Leopard produces 64-bit code by default export MACOSX_DEPLOYMENT_TARGET=10.6 export CFLAGS="-arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk" export LDFLAGS="-arch i386 -arch x86_64 -syslibroot,/Developer/SDKs/MacOSX10.6.sdk" export FFLAGS="-m32 -m64" I then build a Matplotlib egg with: CFLAGS=${CFLAGS}" -I/usr/X11/include -I/usr/X11/include/freetype2" LDFLAGS=${LDFLAGS}" -L/usr/X11/lib" python setupegg.py bdist_egg I've been meaning to publish my installation instructions for numpy/scipy/matplotlib/ipython on Snow Leopard somewhere for quite a while, but that will have to wait for another day... I've tried to trim down my installation procedure to the minimum steps that will guarantee a working system without introducing extra libraries / Pythons / etc, so there might be some interest in it. Ludwig