You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(2) |
|
2
(4) |
3
(16) |
4
(4) |
5
(15) |
6
(16) |
7
(6) |
8
(4) |
|
9
(9) |
10
(5) |
11
(8) |
12
(14) |
13
(19) |
14
(21) |
15
(8) |
|
16
(6) |
17
(10) |
18
(22) |
19
(15) |
20
(7) |
21
(21) |
22
(1) |
|
23
(6) |
24
(16) |
25
(12) |
26
(11) |
27
(27) |
28
(7) |
29
|
|
30
(4) |
31
(5) |
|
|
|
|
|
|
From: Leslie B. <les...@sy...> - 2011-01-15 23:22:17
|
Thank you. You are correct. The matplotlib version 1.0.0 works for me too! I will post this reply so that others can be aware that the problem seems to be only with matplotlib version 1.0.1. The previous version matplotlib 1.0.0 works ok with Mac OS X 10.6.6 Snow Leopard and Apple Python 2.6.1 On 15/01/2011, at 11:04 PM, Kurt Mueller wrote: > > Am 15.01.2011 um 12:07 schrieb Leslie Burnett: >> My apologies if this question is a bit simple, but I am new to Python, but I think I've done all the RTFM things and still hit a brick wall. I can see from Google that I am not the first to strike this problem, but no solutions seem to be posted. >> I am trying to install matplotlib on a Mac OSX 10.6 (Snow Leopard)(OS fully up to date). >> When I try to install, I get the error message: >>> lipo: can't open input file: /var/tmp//cctV2zuc.out (No such file or directory) >>> error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1 > > > On a fully updated Mac OSX 10.6.6 the installation of > http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz/download > did work for me. > > -- > kur...@gm... > |
|
From: Eric F. <ef...@ha...> - 2011-01-15 20:58:14
|
On 01/15/2011 09:35 AM, Daniel Mader wrote: > Hi, > > for my thesis I have a laaaaarge number of plots generated > by--again--a laaaaaaarge number of Python scripts. > > Now I need a moderate font size for all of them for the thesis while > for a presentation and poster it needs to be much bigger. > > In order to keep track of all the plots and files I use a script which > just calls them and copies the relevant files to a folder: > > > import pylab, shutil, subprocess > > cwd = os.getcwd() > dest = './pyplots/' > > p20 = '../20_Glasses+Liquids/' > p21 = '../21_LensDesign/' > p22 = '../22_comsol/' > p23 = '../23_OSLO/' > p23_glc = '../23_OSLO/OSLO_glc/' > > def main(): > runP20() > > def runP20(): > os.chdir(p20) > subprocess.call([sys.executable, 'Generic_OpticalLiquids.py']) > os.chdir(cwd) > shutil.copy(p20+'Generic_OpticalLiquids_n-V.pdf', dest) > > This might be a very clumsy approach but I find it very helpful. The > problem is that changing any rcParam has no effect on the created > files, opposed to using execfile instead of subprocess.call(). > > What can I do to change plot settings globally for that task? If I understand correctly what you are trying to do, you need to set your rcParams in a matplotlibrc file that will be the one found for a given run through all your scripts; or modify your scripts so that they take rcParams on the command line, and modify your master run-all script so that it feeds those rcParams to each script as it is called. For the first approach, you can either have your master script copy a given matplotlibrc file into each subdirectory before doing your chdir() to that subdirectory, or you can simply set that matplotlibrc file at the beginning of the run, using a single location on the search path for matplotlibrc. That search path includes a path that you may set using the environment variable MATPLOTLIBRC, and, relative to your home directory, ".matplotlib/". For either type of path, note that it is a directory that is specified; the file is always named "matplotlibrc". Eric > > Thanks in advance, > Daniel > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: todd r. <tod...@gm...> - 2011-01-15 20:06:49
|
On X11 systems, windows generally provide information about themselves to the system. These include things like the window title, window class, window role, and window type. These allow window managers to properly handle the windows, and in some window managers (like KDE's kwin), lets you set rules for windows of certain types. As best as I can tell, by default matplotlib does not provide most of this information. It provides the window title and the window type, but it doesn't seem to provide the window class or the window role. These two properties, however, are exactly the properties someone would want to use when trying to set up rules for particular windows. This makes it impossible to set window-specific rules for the plots. Is there something in the matplotlib configuration that would let someone set these properties, and if not is there any way matplotlib could set them itself? I'm sorry if this is a common question. -Todd |
|
From: Daniel M. <dan...@go...> - 2011-01-15 19:35:33
|
Hi, for my thesis I have a laaaaarge number of plots generated by--again--a laaaaaaarge number of Python scripts. Now I need a moderate font size for all of them for the thesis while for a presentation and poster it needs to be much bigger. In order to keep track of all the plots and files I use a script which just calls them and copies the relevant files to a folder: import pylab, shutil, subprocess cwd = os.getcwd() dest = './pyplots/' p20 = '../20_Glasses+Liquids/' p21 = '../21_LensDesign/' p22 = '../22_comsol/' p23 = '../23_OSLO/' p23_glc = '../23_OSLO/OSLO_glc/' def main(): runP20() def runP20(): os.chdir(p20) subprocess.call([sys.executable, 'Generic_OpticalLiquids.py']) os.chdir(cwd) shutil.copy(p20+'Generic_OpticalLiquids_n-V.pdf', dest) This might be a very clumsy approach but I find it very helpful. The problem is that changing any rcParam has no effect on the created files, opposed to using execfile instead of subprocess.call(). What can I do to change plot settings globally for that task? Thanks in advance, Daniel |
|
From: Kurt M. <kur...@su...> - 2011-01-15 12:05:03
|
Am 15.01.2011 um 12:07 schrieb Leslie Burnett: > My apologies if this question is a bit simple, but I am new to Python, but I think I've done all the RTFM things and still hit a brick wall. I can see from Google that I am not the first to strike this problem, but no solutions seem to be posted. > I am trying to install matplotlib on a Mac OSX 10.6 (Snow Leopard)(OS fully up to date). > When I try to install, I get the error message: >> lipo: can't open input file: /var/tmp//cctV2zuc.out (No such file or directory) >> error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1 On a fully updated Mac OSX 10.6.6 the installation of http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz/download did work for me. -- kur...@gm... |
|
From: Leslie B. <les...@sy...> - 2011-01-15 11:30:12
|
Dear Matplotlib users My apologies if this question is a bit simple, but I am new to Python, but I think I've done all the RTFM things and still hit a brick wall. I can see from Google that I am not the first to strike this problem, but no solutions seem to be posted. I am trying to install matplotlib on a Mac OSX 10.6 (Snow Leopard)(OS fully up to date). When I try to install, I get the error message: > lipo: can't open input file: /var/tmp//cctV2zuc.out (No such file or directory) > error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1 (full session messages are pasted at the end of this post) I reach this same point via a variety of varied different installation strategies, which I have documented and outlined below. Any assistance or guidance would be gratefully received. With many thanks Leslie Burnett Sydney University === System: Mac OSX 10.6.6 Xcode installed and up to date Python 2.6.1 (Apple) > Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) > [GCC 4.2.1 (Apple Inc. build 5646)] on darwin NumPy installed OK (so I think I have mastered the process of "python setup.py build" and "... install") === Pathways leading to the error message: I obtained Matplotlib from the matplotlib home page download link to sourceforge a) mpkg/dmg installation 1.0.1-r0 fails with message "can't be installed on this disk. matplotlib requires System Python 2.6 to install" b) matplotlib-1.0.1.tar, then cd to tar directory, then "sudo python setup.py build" fails with the missing *.out error message above. c) easy-install using "sudo sh setuptools-0.6c11-py2.6.egg" fails with same missing *.out error message === I have tried this on two different Macs, with same outcome and same error messages. I have also searched the matplotlib archives ditto Google for this problem. I can see others have encountered it, but noone seems to have posted a solution. === Here is the full terminal transcript of the attempted build. Firstly the directory listing, then the build messages: > matplotlib-1.0.1 user$ ls > CHANGELOG MANIFEST.in __init__.py lib setup.py ttconv > CXX Makefile agg24 license setupegg.py > INSTALL PKG-INFO build make.osx setupext.py > INTERACTIVE README.txt doc matplotlibrc.template setupext.pyc > KNOWN_BUGS TODO examples setup.cfg.template src > matplotlib-1.0.1 user$ sudo python setup.py build > Password:******* > basedirlist is: [] > ============================================================================ > BUILDING MATPLOTLIB > matplotlib: 1.0.1 > python: 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC > 4.2.1 (Apple Inc. build 5646)] > platform: darwin > > REQUIRED DEPENDENCIES > numpy: 1.2.1 > freetype2: found, but unknown version (no pkg-config) > * WARNING: Could not find 'freetype2' headers in any > * of '.', './freetype2'. > > OPTIONAL BACKEND DEPENDENCIES > libpng: found, but unknown version (no pkg-config) > * Could not find 'libpng' headers in any of '.' > Tkinter: Tkinter: 67083, Tk: 8.5, Tcl: 8.5 > wxPython: no > * wxPython not found > Gtk+: no > * Building for Gtk+ requires pygtk; you must be able > * to "import gtk" in your build/install environment > Mac OS X native: yes > Qt: no > Qt4: no > Cairo: no > > OPTIONAL DATE/TIMEZONE DEPENDENCIES > datetime: present, version unknown > dateutil: present, version unknown > pytz: matplotlib will provide > adding pytz > > OPTIONAL USETEX DEPENDENCIES > dvipng: no > ghostscript: /bin/sh: gs: command not found > latex: no > > [Edit setup.cfg to suppress the above messages] > ============================================================================ > pymods ['pylab'] > packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projections', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra', 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft', 'matplotlib.tri', 'matplotlib.delaunay', 'pytz'] > running build > running build_py > copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.macosx-10.6-universal-2.6/matplotlib/mpl-data > copying lib/matplotlib/mpl-data/matplotlib.conf -> build/lib.macosx-10.6-universal-2.6/matplotlib/mpl-data > running build_ext > building 'matplotlib.ft2font' extension > gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/core/include -I. -I/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/core/include/freetype2 -I./freetype2 -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/ft2font.cpp -o build/temp.macosx-10.6-universal-2.6/src/ft2font.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ > In file included from src/ft2font.cpp:1: > src/ft2font.h:14:22: error: ft2build.h: No such file or directory > src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME> > In file included from src/ft2font.cpp:1: > src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared > src/ft2font.h:33: error: ‘FT_Int’ has not been declared > src/ft2font.h:33: error: ‘FT_Int’ has not been declared > src/ft2font.h:89: error: expected ‘,’ or ‘...’ before ‘&’ token > src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no type > src/ft2font.h:95: error: expected ‘,’ or ‘...’ before ‘&’ token > src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no type > src/ft2font.h:137: error: ‘FT_Face’ does not name a type > src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type > src/ft2font.h:139: error: ‘FT_Vector’ does not name a type > src/ft2font.h:140: error: ‘FT_Error’ does not name a type > src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope > src/ft2font.h:141: error: template argument 1 is invalid > src/ft2font.h:141: error: template argument 2 is invalid > src/ft2font.h:142: error: ‘FT_Vector’ was not declared in this scope > src/ft2font.h:142: error: template argument 1 is invalid > src/ft2font.h:142: error: template argument 2 is invalid > src/ft2font.h:148: error: ‘FT_BBox’ does not name a type > src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type > src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void > src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope > src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope > src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope > src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope > /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/core/include/numpy/__multiarray_api.h:958: warning: ‘int _import_array()’ defined but not used > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ > In file included from src/ft2font.cpp:1: > src/ft2font.h:14:22: error: ft2build.h: No such file or directory > src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME> > In file included from src/ft2font.cpp:1: > src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared > src/ft2font.h:33: error: ‘FT_Int’ has not been declared > src/ft2font.h:33: error: ‘FT_Int’ has not been declared > src/ft2font.h:89: error: expected ‘,’ or ‘...’ before ‘&’ token > src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no type > src/ft2font.h:95: error: expected ‘,’ or ‘...’ before ‘&’ token > src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no type > src/ft2font.h:137: error: ‘FT_Face’ does not name a type > src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type > src/ft2font.h:139: error: ‘FT_Vector’ does not name a type > src/ft2font.h:140: error: ‘FT_Error’ does not name a type > src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope > src/ft2font.h:141: error: template argument 1 is invalid > src/ft2font.h:141: error: template argument 2 is invalid > src/ft2font.h:142: error: ‘FT_Vector’ was not declared in this scope > src/ft2font.h:142: error: template argument 1 is invalid > src/ft2font.h:142: error: template argument 2 is invalid > src/ft2font.h:148: error: ‘FT_BBox’ does not name a type > src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type > src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void > src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope > src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope > src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope > src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope > /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/core/include/numpy/__multiarray_api.h:958: warning: ‘int _import_array()’ defined but not used > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ > In file included from src/ft2font.cpp:1: > src/ft2font.h:14:22: error: ft2build.h: No such file or directory > src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME> > src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME> > In file included from src/ft2font.cpp:1: > src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared > src/ft2font.h:33: error: ‘FT_Int’ has not been declared > src/ft2font.h:33: error: ‘FT_Int’ has not been declared > src/ft2font.h:89: error: expected ‘,’ or ‘...’ before ‘&’ token > src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no type > src/ft2font.h:95: error: expected ‘,’ or ‘...’ before ‘&’ token > src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no type > src/ft2font.h:137: error: ‘FT_Face’ does not name a type > src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type > src/ft2font.h:139: error: ‘FT_Vector’ does not name a type > src/ft2font.h:140: error: ‘FT_Error’ does not name a type > src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope > src/ft2font.h:141: error: template argument 1 is invalid > src/ft2font.h:141: error: template argument 2 is invalid > src/ft2font.h:142: error: ‘FT_Vector’ was not declared in this scope > src/ft2font.h:142: error: template argument 1 is invalid > src/ft2font.h:142: error: template argument 2 is invalid > src/ft2font.h:148: error: ‘FT_BBox’ does not name a type > src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type > src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void > src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope > src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope > src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope > src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope > /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/core/include/numpy/__multiarray_api.h:958: warning: ‘int _import_array()’ defined but not used > lipo: can't open input file: /var/tmp//ccX1tCpD.out (No such file or directory) > error: command 'gcc-4.2' failed with exit status 1 > |
|
From: gary r. <gar...@gm...> - 2011-01-15 10:37:15
|
No problem. This caught me out a long time ago and has also caught out a few people I know. On Fri, Jan 14, 2011 at 8:23 PM, CASOLI Jules <jul...@ce...> wrote: > Hooo, well done! This is it. > > I didn't knew about caching... > I was indeed using ipython, but I did led some test using the basic python interpreter,with same results, so I did not mention this point. > In fact, python's basic interpreter still records the last three outputs. As my tests were really short (plt.close() ; mpl.cbook.report_memory() ; gc.collect() is only two lines before the collect, only o)ne o,f theme outputt ing something) even pyhton's caching was still at work, and the garbage collector could not free anything. > > Thanks a lot, and also thanks to Ben for taking interest ! > > Jules > > PS : Gary, sorry, for the duplicated mail... |
|
From: sprobst <Ste...@gm...> - 2011-01-15 07:56:25
|
Problem solved ... even as orginally C++ or Java programmer it is strange,
but a interpreted language makes it possible to obtain with an import at a
different position a complety different behaviour during run-time.
I just putted the import of mathplotlib and pylab after the file reading and
after the type conversion and it works. :jumping:
Comment to just switch to another system with 64bit. Sometimes if your are
not admin of a machine, than it is hard to change the system ;-)
Thank you anyhow, based on your comments I found the solution. Do you
perhaps know if there is something like a memdefrag :-/?
Have a nice weekend
Stefan
--
View this message in context: http://old.nabble.com/MemoryError-with-import-matplotlib-tp30674798p30676114.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|