SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

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)
3
(16)
4
(22)
5
(7)
6
7
(9)
8
(2)
9
10
(7)
11
(15)
12
(7)
13
(4)
14
(7)
15
(3)
16
(6)
17
(20)
18
(18)
19
(15)
20
(27)
21
(14)
22
23
(1)
24
(18)
25
(22)
26
(36)
27
(17)
28
(6)
29
(2)
30
(3)
31
(6)





Showing results of 303

<< < 1 2 3 4 5 6 .. 13 > >> (Page 4 of 13)
From: David R. <d.p...@sm...> - 2010年05月25日 20:10:38
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
From: Jonathan S. <jjs...@vc...> - 2010年05月25日 19:35:28
I've experienced many of the same problems on Mac OS X 10.6.3 (Snow 
Leopard). I have python/scipy/numpy/matplotlib/ipython all installed 
via Macports. I found the MacOSX backend to work OK, but I could not 
save a figure through the GUI. I finally have the WXagg backend 
working, but that required installed WXPython with the gtk/X11 backend.
HTH,
Jonathan
On 5/25/10 13:19 , mat...@li... wrote:
> Date: 2010年5月25日 12:58:49 -0600
> From: Daniel Welling<dan...@gm...>
> Subject: [Matplotlib-users] Mac backend problems for nearly all
> 	backends.
> To:mat...@li...
> Message-ID:
> 	<AAN...@ma...>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Greetings.
>
> I did quite a bit of digging on this and cannot find similar problems, but
> if I did miss an earlier discussion, then I apologize.
>
> In any case, I have been having royal problems with GUI backends and
> matplotlib.
> Some background on where I've been having these problems:
> Machine 1: OSX 10.5.8 G5 PPC
> Machine 2: OSX 10.5.7 Macbook pro/Intel
> Code versions: python 2.5.4, Numpy 1.3.0, Scipy 0.7.0 (all obtained through
> fink.)
> MPL versions: 99.0.1 and 99.1.1 (Older obtained through fink, newer
> installed from source.)
> Compilers: gcc/g++ 4.0.1/Mac.
>
> Here are the issues; behavior is consistent on both machines:
>
> MacOSX backend: Loads plots quickly, but when I try to save, I cannot type
> in the file name area of the save file dialog. Furthermore, with ipython, I
> can continue to use the ipython prompt up until the I shut the plot window.
> ipython then freezes until I control-c it. This occurs in both versions.
>
> TkAgg backend: In 99.0.1, this works fine. However, it is slow, hence my
> want for a different working backend. in 99.1.1, the plot window opens but
> the picture is never drawn. After a moment, segfault back to the x11
> prompt. Blerg.
>
> I've tried nearly all of the GUI tool kits, but ran into some problem:
> GtkAgg: Bad color (e.g. the background is pink rather than gray, color
> tables are way goofed up. Writes to file fine.)
> GtkCairo: looks great, crashes ipython on resize.
> Wx: color issues, not stable.
> Qt: installs from fink, but won't load.
> Fltk: Couldn't get it to install via fink; can't remember why.
>
> In any case, it's not the Gtk/Qt/Wx problems that are important, it's the
> OSX backend issue. Others whom I work with do not have this issue, but
> installed using the EPD.
> Has anyone else experienced such problems? Anyone know possible fixes?
> Given that this occurs on two different machines with two different MPL
> versions (a total of 4 combinations), I'm guessing it's my fault somehow.
>
> Thanks for your help; let me know if there's more info I can provide.
From: Frank A. <cop...@gm...> - 2010年05月25日 19:19:52
I've found a little work-a-round to get my custom font.
Here it is:
from ctypes import windll
gdi32 = windll.gdi32
FR_PRIVATE = 0x10
gdi32.AddFontResourceExA(FILENAME_OF_TTF,FR_PRIVATE,0)
greetz
Frank
Am 18.05.2010 16:09, schrieb Michael Droettboom:
> We went through this a few years ago on the Cairo mailing list.
> The short answer is you need to copy the fonts from mpl-data to
> C:\Windows\Fonts to correctly use Cairo.
> 
> The long answer: Cairo uses fontconfig for font lookup, which by default
> searches the system font directory (C:\Windows\Fonts). There is an
> fontconfig API to add another font directory to search, but it is not
> exposed to Python. The cairo guys don't want to expose it in pycairo
> because that API is not technically part of cairo, but there isn't a
> proper Python wrapper to fontconfig, so until one is created we're sort
> of left with our hands tied.
> 
> This is probably worthy of a FAQ in the docs.
> 
> Mike
> 
> cop...@gm... wrote:
>> Hallo,
>>
>> I'm try to use MathTextParser output for cairo in my wxpython gui.
>> Works well under ubunutu linux (maybe dublicated font) but fails under
>> windows (screenshot:
>> http://www.ubuntu-pics.de/bild/62985/auswahl_017_RC86gk.png ).
>>
>> How to tell cairo to use the font file from mpl-data?
>>
>> Here some code:
>>
>> from matplotlib.mathtext import MathTextParser
>> from matplotlib.font_manager import ttfFontProperty
>> import wx
>> import wx.lib.wxcairo
>> import cairo
>>
>> #...
>> MPC = MathTextParser("Cairo")
>> dc = wx.BufferedPaintDC(self)
>> ctx = wx.lib.wxcairo.ContextFromDC(dc)
>> #...
>> width, height, descent, glyphs, rects =
>> self.mathtext_parser.parse(r"$a_0+a_1\xi+a_2\xi^2+a_3\xi^3$",dpi,prop)
>> #...
>>
>> for font, fontsize, s, ox, oy in glyphs:
>> #...
>> fontProp = ttfFontProperty(font)
>> #...
>> ctx.select_font_face (fontProp.name,
>> self.fontangles [fontProp.style],
>> self.fontweights[fontProp.weight])
>>
>> #...
>> ctx.show_text(s.encode("utf-8"))
>> #...
>> #...
>>
>> greetz
>>
>> Frank
>>
>> ------------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>> 
> 
From: Daniel W. <dan...@gm...> - 2010年05月25日 18:58:58
Greetings.
I did quite a bit of digging on this and cannot find similar problems, but
if I did miss an earlier discussion, then I apologize.
In any case, I have been having royal problems with GUI backends and
matplotlib.
Some background on where I've been having these problems:
Machine 1: OSX 10.5.8 G5 PPC
Machine 2: OSX 10.5.7 Macbook pro/Intel
Code versions: python 2.5.4, Numpy 1.3.0, Scipy 0.7.0 (all obtained through
fink.)
MPL versions: 99.0.1 and 99.1.1 (Older obtained through fink, newer
installed from source.)
Compilers: gcc/g++ 4.0.1/Mac.
Here are the issues; behavior is consistent on both machines:
MacOSX backend: Loads plots quickly, but when I try to save, I cannot type
in the file name area of the save file dialog. Furthermore, with ipython, I
can continue to use the ipython prompt up until the I shut the plot window.
ipython then freezes until I control-c it. This occurs in both versions.
TkAgg backend: In 99.0.1, this works fine. However, it is slow, hence my
want for a different working backend. in 99.1.1, the plot window opens but
the picture is never drawn. After a moment, segfault back to the x11
prompt. Blerg.
I've tried nearly all of the GUI tool kits, but ran into some problem:
GtkAgg: Bad color (e.g. the background is pink rather than gray, color
tables are way goofed up. Writes to file fine.)
GtkCairo: looks great, crashes ipython on resize.
Wx: color issues, not stable.
Qt: installs from fink, but won't load.
Fltk: Couldn't get it to install via fink; can't remember why.
In any case, it's not the Gtk/Qt/Wx problems that are important, it's the
OSX backend issue. Others whom I work with do not have this issue, but
installed using the EPD.
Has anyone else experienced such problems? Anyone know possible fixes?
Given that this occurs on two different machines with two different MPL
versions (a total of 4 combinations), I'm guessing it's my fault somehow.
Thanks for your help; let me know if there's more info I can provide.
From: Daniel W. <dan...@gm...> - 2010年05月25日 18:51:15
$%$^&#!!! My sincere apologies, gmail sent before I was ready. To
continue:
GtkCairo: looks great, crashes ipython on resize.
Wx: color issues, not stable.
Qt: installs from fink, but won't load.
In any case, it's not the Gtk/Qt/Wx problems that are important, it's the
OSX backend issue. Others whom I work with do not have this issue, but
installed using EPD.
Has anyone else experienced such problems?
Thanks for your help; let me know if there's more info I can provide.
-dw
On Tue, May 25, 2010 at 12:47 PM, Daniel Welling <dan...@gm...>wrote:
> Greetings.
>
> I did quite a bit of digging on this and cannot find similar problems, but
> if I did miss an earlier discussion, then I apologize.
>
> In any case, I have been having royal problems with GUI backends and
> matplotlib.
> Some background on where I've been having these problems:
> Machine 1: OSX 10.5.8 G5 PPC
> Machine 2: OSX 10.5.7 Macbook pro/Intel
> Code versions: python 2.5.4, Numpy 1.3.0, Scipy 0.7.0 (all obtained through
> fink.)
> MPL versions: 99.0.1 and 99.1.1 (Older obtained through fink, newer
> installed from source.)
>
> Here are the issues; behavior is consistent on both machines:
>
> MacOSX backend: Loads plots quickly, but when I try to save, I cannot type
> in the file name area of the save file dialog. Furthermore, with ipython, I
> can continue to use the ipython prompt up until the I shut the plot window.
> ipython then freezes until I control-c it. This occurs in both versions.
>
> TkAgg backend: In 99.0.1, this works fine. However, it is slow, hence my
> want for a different working backend. in 99.1.1, the plot window opens but
> the picture is never drawn. After a moment, segfault back to the x11
> prompt. Blerg.
>
> GtkAgg: Bad color (e.g. the background is pink rather than gray, color
> tables are way goofed up. Writes to file fine.)
>
>
From: Omer K. <Ome...@ce...> - 2010年05月25日 17:52:51
Hi John,
Thanks a lot for the example code; it answered my question.
Best Regards,
Omer
On Tue, May 25, 2010 at 14:25, John Hunter <jd...@gm...> wrote:
> On Tue, May 25, 2010 at 6:46 AM, Omer Khalid <Ome...@ce...> wrote:
> > Hi Jae,
> > Thanks for your reply and letting me know about this. Can you please
> point
> > me to some code example?
>
> In [226]: t = np.arange(0, 2, 0.05)
>
> In [227]: s = np.sin(2*np.pi*t)
>
> In [228]: plot(t, s, '-')
> Out[228]: [<matplotlib.lines.Line2D object at 0x9ef1fcc>]
>
> Approach 1:
>
> In [229]: plot(t, s, 'o', markevery=10)
> Out[229]: [<matplotlib.lines.Line2D object at 0x9eb932c>]
>
> Approach 2:
>
> In [230]: plot(t[::5], s[::5], 's')
> Out[230]: [<matplotlib.lines.Line2D object at 0x1431f30c>]
>
From: George N. <gn...@gm...> - 2010年05月25日 16:55:03
If what John suggests doesn't work, and you really only need 64 bit,
then the nuclear option is to remove all occurrences of
 -arch i386
from the makefile (assuming you have a framework build) at
/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/config/Makefile
This should only generate x86_64.
Obviously, save the current one, so you can go back to it.
HTH, George.
On 25 May 2010 16:58, John Hunter <jd...@gm...> wrote:
> On Tue, May 25, 2010 at 10:45 AM, Pim Schellart <p.s...@gm...> wrote:
>> Hi John and George,
>>
>> I tried both and although it now seems to find the libraries it still
>> fails to link something.
>>
>> matplotlib-0.99.1.1 $ sudo python setup.py install
>
> According to the README I pointed you too, this isn't the command you
> should be running. Rather,
>
> Example usage::
>
> PREFIX=/Users/jdhunter/dev make -f make.osx fetch deps mpl_install
>
> But I advise you work from the svn trunk if you want to go this route,
> as I have made some updates for 64bit/python2.6 OSX there
>
> > svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib
> matplotlib
>
> JDH
>
On Tue, May 25, 2010 at 10:45 AM, Pim Schellart <p.s...@gm...> wrote:
> Hi John and George,
>
> I tried both and although it now seems to find the libraries it still
> fails to link something.
>
> matplotlib-0.99.1.1 $ sudo python setup.py install
According to the README I pointed you too, this isn't the command you
should be running. Rather,
Example usage::
 PREFIX=/Users/jdhunter/dev make -f make.osx fetch deps mpl_install
But I advise you work from the svn trunk if you want to go this route,
as I have made some updates for 64bit/python2.6 OSX there
 > svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib
matplotlib
JDH
Hi John and George,
I tried both and although it now seems to find the libraries it still
fails to link something.
matplotlib-0.99.1.1 $ sudo python setup.py install
============================================================================
BUILDING MATPLOTLIB
 matplotlib: 0.99.1.1
 python: 2.6.5 (r265:79063, May 25 2010, 11:45:36) [GCC
 4.2.1 (Apple Inc. build 5659)]
 platform: darwin
REQUIRED DEPENDENCIES
 numpy: 1.4.1
 freetype2: 10.0.4
OPTIONAL BACKEND DEPENDENCIES
 libpng: 1.4.2
 Tkinter: Tkinter: 73770, 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: matplotlib will provide
 pytz: matplotlib will provide
adding pytz
OPTIONAL USETEX DEPENDENCIES
 dvipng: 1.12
 ghostscript: 8.70
 latex: 3.1415926
[Edit setup.cfg to suppress the above messages]
============================================================================
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends',
'matplotlib.projections', 'mpl_toolkits', 'mpl_toolkits.mplot3d',
'mpl_toolkits.axes_grid', 'matplotlib.sphinxext',
'matplotlib.numerix', 'matplotlib.numerix.mlab',
'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra',
'matplotlib.numerix.random_array', 'matplotlib.numerix.fft',
'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil/zoneinfo']
running install
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-2.6
copying lib/pylab.py -> build/lib.macosx-10.6-intel-2.6
creating build/lib.macosx-10.6-intel-2.6/matplotlib
copying lib/matplotlib/__init__.py -> build/lib.macosx-10.6-intel-2.6/matplotlib
...
copying lib/dateutil/zoneinfo/zoneinfo-2008e.tar.gz ->
build/lib.macosx-10.6-intel-2.6/dateutil/zoneinfo
running build_ext
building 'matplotlib.ft2font' extension
creating build/temp.macosx-10.6-intel-2.6
creating build/temp.macosx-10.6-intel-2.6/src
creating build/temp.macosx-10.6-intel-2.6/CXX
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/ft2font.cpp -o build/temp.macosx-10.6-intel-2.6/src/ft2font.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/mplutils.cpp -o build/temp.macosx-10.6-intel-2.6/src/mplutils.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxx_extensions.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/cxx_extensions.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxxsupport.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/cxxsupport.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/IndirectPythonInterface.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/IndirectPythonInterface.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxxextensions.c -o
build/temp.macosx-10.6-intel-2.6/CXX/cxxextensions.o
g++ -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-bundle -undefined dynamic_lookup
build/temp.macosx-10.6-intel-2.6/src/ft2font.o
build/temp.macosx-10.6-intel-2.6/src/mplutils.o
build/temp.macosx-10.6-intel-2.6/CXX/cxx_extensions.o
build/temp.macosx-10.6-intel-2.6/CXX/cxxsupport.o
build/temp.macosx-10.6-intel-2.6/CXX/IndirectPythonInterface.o
build/temp.macosx-10.6-intel-2.6/CXX/cxxextensions.o -L/usr/local/lib
-lfreetype -lz -lstdc++ -lm -o
build/lib.macosx-10.6-intel-2.6/matplotlib/ft2font.so
ld: warning: in
/Developer/SDKs/MacOSX10.6.sdk/usr/local/lib/libstdc++.dylib, file was
built for unsupported file format which is not the architecture being
linked (i386)
building 'matplotlib.ttconv' extension
creating build/temp.macosx-10.6-intel-2.6/ttconv
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/_ttconv.cpp -o build/temp.macosx-10.6-intel-2.6/src/_ttconv.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c ttconv/pprdrv_tt.cpp -o
build/temp.macosx-10.6-intel-2.6/ttconv/pprdrv_tt.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c ttconv/pprdrv_tt2.cpp -o
build/temp.macosx-10.6-intel-2.6/ttconv/pprdrv_tt2.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c ttconv/ttutil.cpp -o
build/temp.macosx-10.6-intel-2.6/ttconv/ttutil.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
g++ -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-bundle -undefined dynamic_lookup
build/temp.macosx-10.6-intel-2.6/src/_ttconv.o
build/temp.macosx-10.6-intel-2.6/ttconv/pprdrv_tt.o
build/temp.macosx-10.6-intel-2.6/ttconv/pprdrv_tt2.o
build/temp.macosx-10.6-intel-2.6/ttconv/ttutil.o -o
build/lib.macosx-10.6-intel-2.6/matplotlib/ttconv.so
building 'matplotlib._cntr' extension
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/cntr.c -o build/temp.macosx-10.6-intel-2.6/src/cntr.o
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-bundle -undefined dynamic_lookup
build/temp.macosx-10.6-intel-2.6/src/cntr.o -o
build/lib.macosx-10.6-intel-2.6/matplotlib/_cntr.so
building 'matplotlib._delaunay' extension
creating build/temp.macosx-10.6-intel-2.6/lib
creating build/temp.macosx-10.6-intel-2.6/lib/matplotlib
creating build/temp.macosx-10.6-intel-2.6/lib/matplotlib/delaunay
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c lib/matplotlib/delaunay/_delaunay.cpp -o
build/temp.macosx-10.6-intel-2.6/lib/matplotlib/delaunay/_delaunay.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject*
compute_planes_method(PyObject*, PyObject*)’:
lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘nodes’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘z’ may be used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘y’ may be used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject*
nn_interpolate_unstructured_method(PyObject*, PyObject*)’:
lib/matplotlib/delaunay/_delaunay.cpp:469: warning: ‘intz’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject*
nn_interpolate_method(PyObject*, PyObject*)’:
lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘y’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘z’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘centers’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘nodes’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘neighbors’ is
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject*
linear_interpolate_method(PyObject*, PyObject*)’:
lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘neighbors’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘nodes’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘y’ may be used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘planes’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject*
delaunay_method(PyObject*, PyObject*)’:
lib/matplotlib/delaunay/_delaunay.cpp:209: warning: ‘vertices’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:116: note: ‘vertices’ was declared here
lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_nbrs’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:116: note: ‘tri_nbrs’ was declared here
lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_edges’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:116: note: ‘tri_edges’ was declared here
lib/matplotlib/delaunay/_delaunay.cpp:667: warning: ‘y’ may be used
uninitialized in this function
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject*
compute_planes_method(PyObject*, PyObject*)’:
lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘nodes’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘z’ may be used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘y’ may be used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject*
nn_interpolate_unstructured_method(PyObject*, PyObject*)’:
lib/matplotlib/delaunay/_delaunay.cpp:469: warning: ‘intz’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject*
nn_interpolate_method(PyObject*, PyObject*)’:
lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘y’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘z’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘centers’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘nodes’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘neighbors’ is
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject*
linear_interpolate_method(PyObject*, PyObject*)’:
lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘neighbors’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘nodes’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘y’ may be used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘planes’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject*
delaunay_method(PyObject*, PyObject*)’:
lib/matplotlib/delaunay/_delaunay.cpp:209: warning: ‘vertices’ is used
uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:116: note: ‘vertices’ was declared here
lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_nbrs’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:116: note: ‘tri_nbrs’ was declared here
lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_edges’ may be
used uninitialized in this function
lib/matplotlib/delaunay/_delaunay.cpp:116: note: ‘tri_edges’ was declared here
lib/matplotlib/delaunay/_delaunay.cpp:667: warning: ‘y’ may be used
uninitialized in this function
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp -o
build/temp.macosx-10.6-intel-2.6/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c lib/matplotlib/delaunay/delaunay_utils.cpp -o
build/temp.macosx-10.6-intel-2.6/lib/matplotlib/delaunay/delaunay_utils.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c lib/matplotlib/delaunay/natneighbors.cpp -o
build/temp.macosx-10.6-intel-2.6/lib/matplotlib/delaunay/natneighbors.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
g++ -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-bundle -undefined dynamic_lookup
build/temp.macosx-10.6-intel-2.6/lib/matplotlib/delaunay/_delaunay.o
build/temp.macosx-10.6-intel-2.6/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o
build/temp.macosx-10.6-intel-2.6/lib/matplotlib/delaunay/delaunay_utils.o
build/temp.macosx-10.6-intel-2.6/lib/matplotlib/delaunay/natneighbors.o
-o build/lib.macosx-10.6-intel-2.6/matplotlib/_delaunay.so
building 'matplotlib.nxutils' extension
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/nxutils.c -o build/temp.macosx-10.6-intel-2.6/src/nxutils.o
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-bundle -undefined dynamic_lookup
build/temp.macosx-10.6-intel-2.6/src/nxutils.o -o
build/lib.macosx-10.6-intel-2.6/matplotlib/nxutils.so
building 'matplotlib._path' extension
creating build/temp.macosx-10.6-intel-2.6/agg24
creating build/temp.macosx-10.6-intel-2.6/agg24/src
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_curves.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_curves.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_bezier_arc.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_bezier_arc.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_trans_affine.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_trans_affine.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_vcgen_stroke.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_vcgen_stroke.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxx_extensions.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/cxx_extensions.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxxsupport.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/cxxsupport.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/IndirectPythonInterface.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/IndirectPythonInterface.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxxextensions.c -o
build/temp.macosx-10.6-intel-2.6/CXX/cxxextensions.o
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/agg_py_transforms.cpp -o
build/temp.macosx-10.6-intel-2.6/src/agg_py_transforms.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/path_cleanup.cpp -o
build/temp.macosx-10.6-intel-2.6/src/path_cleanup.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/path.cpp -o build/temp.macosx-10.6-intel-2.6/src/path.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
src/path.cpp: In function ‘void clip_to_rect(PathIterator&, double,
double, double, double, bool, std::vector<std::vector<XY,
std::allocator<XY> >, std::allocator<std::vector<XY,
std::allocator<XY> > > >&)’:
src/path.cpp:821: warning: ‘y’ may be used uninitialized in this function
src/path.cpp:821: warning: ‘x’ may be used uninitialized in this function
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
src/path.cpp: In function ‘void clip_to_rect(PathIterator&, double,
double, double, double, bool, std::vector<std::vector<XY,
std::allocator<XY> >, std::allocator<std::vector<XY,
std::allocator<XY> > > >&)’:
src/path.cpp:821: warning: ‘y’ may be used uninitialized in this function
src/path.cpp:821: warning: ‘x’ may be used uninitialized in this function
g++ -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-bundle -undefined dynamic_lookup
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_curves.o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_bezier_arc.o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_trans_affine.o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_vcgen_stroke.o
build/temp.macosx-10.6-intel-2.6/CXX/cxx_extensions.o
build/temp.macosx-10.6-intel-2.6/CXX/cxxsupport.o
build/temp.macosx-10.6-intel-2.6/CXX/IndirectPythonInterface.o
build/temp.macosx-10.6-intel-2.6/CXX/cxxextensions.o
build/temp.macosx-10.6-intel-2.6/src/agg_py_transforms.o
build/temp.macosx-10.6-intel-2.6/src/path_cleanup.o
build/temp.macosx-10.6-intel-2.6/src/path.o -lstdc++ -lm -o
build/lib.macosx-10.6-intel-2.6/matplotlib/_path.so
building 'matplotlib.backends._backend_agg' extension
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_trans_affine.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_trans_affine.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_bezier_arc.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_bezier_arc.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_curves.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_curves.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_vcgen_dash.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_vcgen_dash.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_vcgen_stroke.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_vcgen_stroke.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_image_filters.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_image_filters.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/mplutils.cpp -o build/temp.macosx-10.6-intel-2.6/src/mplutils.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/agg_py_transforms.cpp -o
build/temp.macosx-10.6-intel-2.6/src/agg_py_transforms.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxx_extensions.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/cxx_extensions.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxxsupport.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/cxxsupport.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/IndirectPythonInterface.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/IndirectPythonInterface.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxxextensions.c -o
build/temp.macosx-10.6-intel-2.6/CXX/cxxextensions.o
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/freetype2 -I/usr/local/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/backend_agg.cpp -o
build/temp.macosx-10.6-intel-2.6/src/backend_agg.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
g++ -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-bundle -undefined dynamic_lookup
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_trans_affine.o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_bezier_arc.o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_curves.o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_vcgen_dash.o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_vcgen_stroke.o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_image_filters.o
build/temp.macosx-10.6-intel-2.6/src/mplutils.o
build/temp.macosx-10.6-intel-2.6/src/agg_py_transforms.o
build/temp.macosx-10.6-intel-2.6/CXX/cxx_extensions.o
build/temp.macosx-10.6-intel-2.6/CXX/cxxsupport.o
build/temp.macosx-10.6-intel-2.6/CXX/IndirectPythonInterface.o
build/temp.macosx-10.6-intel-2.6/CXX/cxxextensions.o
build/temp.macosx-10.6-intel-2.6/src/backend_agg.o -L/usr/local/lib
-lstdc++ -lm -lfreetype -lz -lstdc++ -lm -o
build/lib.macosx-10.6-intel-2.6/matplotlib/backends/_backend_agg.so
ld: warning: in
/Developer/SDKs/MacOSX10.6.sdk/usr/local/lib/libstdc++.dylib, file was
built for unsupported file format which is not the architecture being
linked (i386)
building 'matplotlib._image' extension
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/image.cpp -o build/temp.macosx-10.6-intel-2.6/src/image.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/mplutils.cpp -o build/temp.macosx-10.6-intel-2.6/src/mplutils.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_trans_affine.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_trans_affine.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_image_filters.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_image_filters.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c agg24/src/agg_bezier_arc.cpp -o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_bezier_arc.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxx_extensions.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/cxx_extensions.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxxsupport.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/cxxsupport.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/IndirectPythonInterface.cxx -o
build/temp.macosx-10.6-intel-2.6/CXX/IndirectPythonInterface.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c CXX/cxxextensions.c -o
build/temp.macosx-10.6-intel-2.6/CXX/cxxextensions.o
g++ -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-bundle -undefined dynamic_lookup
build/temp.macosx-10.6-intel-2.6/src/image.o
build/temp.macosx-10.6-intel-2.6/src/mplutils.o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_trans_affine.o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_image_filters.o
build/temp.macosx-10.6-intel-2.6/agg24/src/agg_bezier_arc.o
build/temp.macosx-10.6-intel-2.6/CXX/cxx_extensions.o
build/temp.macosx-10.6-intel-2.6/CXX/cxxsupport.o
build/temp.macosx-10.6-intel-2.6/CXX/IndirectPythonInterface.o
build/temp.macosx-10.6-intel-2.6/CXX/cxxextensions.o -lstdc++ -lm -o
build/lib.macosx-10.6-intel-2.6/matplotlib/_image.so
building 'matplotlib._png' extension
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/usr/local/include/libpng14 -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/_png.cpp -o build/temp.macosx-10.6-intel-2.6/src/_png.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
src/_png.cpp: In member function ‘Py::Object
_png_module::write_png(const Py::Tuple&)’:
src/_png.cpp:125: warning: ‘jmpbuf’ is deprecated (declared at
/usr/local/include/libpng14/png.h:1093)
src/_png.cpp:125: warning: ‘jmpbuf’ is deprecated (declared at
/usr/local/include/libpng14/png.h:1093)
src/_png.cpp: In member function ‘Py::Object
_png_module::read_png(const Py::Tuple&)’:
src/_png.cpp:213: warning: ‘width’ is deprecated (declared at
/usr/local/include/libpng14/png.h:636)
src/_png.cpp:213: warning: ‘width’ is deprecated (declared at
/usr/local/include/libpng14/png.h:636)
src/_png.cpp:214: warning: ‘height’ is deprecated (declared at
/usr/local/include/libpng14/png.h:637)
src/_png.cpp:214: warning: ‘height’ is deprecated (declared at
/usr/local/include/libpng14/png.h:637)
src/_png.cpp:216: warning: ‘bit_depth’ is deprecated (declared at
/usr/local/include/libpng14/png.h:648)
src/_png.cpp:216: warning: ‘bit_depth’ is deprecated (declared at
/usr/local/include/libpng14/png.h:648)
src/_png.cpp:224: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:224: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:232: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:232: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:236: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:236: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:257: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:257: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:259: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:259: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:264: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:264: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:293: error: ‘png_infopp_NULL’ was not declared in this scope
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
src/_png.cpp: In member function ‘Py::Object
_png_module::write_png(const Py::Tuple&)’:
src/_png.cpp:125: warning: ‘jmpbuf’ is deprecated (declared at
/usr/local/include/libpng14/png.h:1093)
src/_png.cpp:125: warning: ‘jmpbuf’ is deprecated (declared at
/usr/local/include/libpng14/png.h:1093)
src/_png.cpp: In member function ‘Py::Object
_png_module::read_png(const Py::Tuple&)’:
src/_png.cpp:213: warning: ‘width’ is deprecated (declared at
/usr/local/include/libpng14/png.h:636)
src/_png.cpp:213: warning: ‘width’ is deprecated (declared at
/usr/local/include/libpng14/png.h:636)
src/_png.cpp:214: warning: ‘height’ is deprecated (declared at
/usr/local/include/libpng14/png.h:637)
src/_png.cpp:214: warning: ‘height’ is deprecated (declared at
/usr/local/include/libpng14/png.h:637)
src/_png.cpp:216: warning: ‘bit_depth’ is deprecated (declared at
/usr/local/include/libpng14/png.h:648)
src/_png.cpp:216: warning: ‘bit_depth’ is deprecated (declared at
/usr/local/include/libpng14/png.h:648)
src/_png.cpp:224: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:224: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:232: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:232: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:236: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:236: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:257: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:257: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:259: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:259: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:264: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:264: warning: ‘color_type’ is deprecated (declared at
/usr/local/include/libpng14/png.h:650)
src/_png.cpp:293: error: ‘png_infopp_NULL’ was not declared in this scope
lipo: can't figure out the architecture type of: /var/tmp//cc42NVrj.out
error: command 'gcc' failed with exit status 1
However when I check the architectures of the libraries (including
libpng and freetype) I get:
lipo -info /usr/local/lib/*.dylib
Architectures in the fat file: /usr/local/lib/libfreetype.6.dylib are:
i386 x86_64
Architectures in the fat file: /usr/local/lib/libfreetype.dylib are:
i386 x86_64
Architectures in the fat file: /usr/local/lib/libgcc_ext.10.4.dylib
are: x86_64 i386
Architectures in the fat file: /usr/local/lib/libgcc_ext.10.5.dylib
are: x86_64 i386
Architectures in the fat file: /usr/local/lib/libgcc_s.1.dylib are: x86_64 i386
Architectures in the fat file: /usr/local/lib/libgcc_s.10.4.dylib are:
x86_64 i386
Architectures in the fat file: /usr/local/lib/libgcc_s.10.5.dylib are:
x86_64 i386
Architectures in the fat file: /usr/local/lib/libgcc_s_ppc64.1.dylib
are: x86_64 i386
Architectures in the fat file: /usr/local/lib/libgcc_s_x86_64.1.dylib
are: x86_64 i386
Architectures in the fat file: /usr/local/lib/libpng.dylib are: i386 x86_64
Architectures in the fat file: /usr/local/lib/libpng14.14.dylib are:
i386 x86_64
Architectures in the fat file: /usr/local/lib/libpng14.dylib are: i386 x86_64
Non-fat file: /usr/local/lib/libgfortran.3.dylib is architecture: x86_64
Non-fat file: /usr/local/lib/libgfortran.dylib is architecture: x86_64
Non-fat file: /usr/local/lib/libgomp.1.dylib is architecture: x86_64
Non-fat file: /usr/local/lib/libgomp.dylib is architecture: x86_64
Non-fat file: /usr/local/lib/libssp.0.dylib is architecture: x86_64
Non-fat file: /usr/local/lib/libssp.dylib is architecture: x86_64
Non-fat file: /usr/local/lib/libstdc++.6.dylib is architecture: x86_64
Non-fat file: /usr/local/lib/libstdc++.dylib is architecture: x86_64
Is there a way to tell setup.py to only compile x86_64 so I can be
sure the problem is in the 64 bit binaries?
Kind regards,
Pim Schellart
2010年5月25日 John Hunter <jd...@gm...>:
> On Tue, May 25, 2010 at 10:10 AM, George Nurser <gn...@gm...> wrote:
>> Hi,
>> Installing pkg-config sorted things out for me.
>>
>> http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz
>
> Also, you may want to try the make.osx script which lives beside
> setup.py. See the associated README.osx file.
>
> JDH
>
On Tue, May 25, 2010 at 10:10 AM, George Nurser <gn...@gm...> wrote:
> Hi,
> Installing pkg-config sorted things out for me.
>
> http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz
Also, you may want to try the make.osx script which lives beside
setup.py. See the associated README.osx file.
JDH
From: George N. <gn...@gm...> - 2010年05月25日 15:10:17
Hi,
Installing pkg-config sorted things out for me.
http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz
--George.
On 25 May 2010 16:03, Pim Schellart <p.s...@gm...> wrote:
> Hi Everyone,
>
> I am attempting to compile matplotlib against a 64 bit version of
> Python 2.6 compiled and installed from source on OSX 10.6 (Snow
> Leopard).
> Numpy, scipy, freetype2 and libpng have been installed and work just
> fine, however I cannot get matplotlib to compile correctly.
>
> I get the following output:
>
> matplotlib-0.99.1.1 $ sudo python setup.py install
> ============================================================================
> BUILDING MATPLOTLIB
>      matplotlib: 0.99.1.1
>        python: 2.6.5 (r265:79063, May 25 2010, 11:45:36) [GCC
>            4.2.1 (Apple Inc. build 5659)]
>       platform: darwin
>
> REQUIRED DEPENDENCIES
>         numpy: 1.4.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: 73770, 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: matplotlib will provide
>         pytz: matplotlib will provide
> adding pytz
>
> OPTIONAL USETEX DEPENDENCIES
>        dvipng: 1.12
>      ghostscript: 8.70
>         latex: 3.1415926
>
> [Edit setup.cfg to suppress the above messages]
> ============================================================================
> pymods ['pylab']
> packages ['matplotlib', 'matplotlib.backends',
> 'matplotlib.projections', 'mpl_toolkits', 'mpl_toolkits.mplot3d',
> 'mpl_toolkits.axes_grid', 'matplotlib.sphinxext',
> 'matplotlib.numerix', 'matplotlib.numerix.mlab',
> 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra',
> 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft',
> 'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil/zoneinfo']
> running install
> running build
> running build_py
> copying lib/matplotlib/mpl-data/matplotlibrc ->
> build/lib.macosx-10.6-intel-2.6/matplotlib/mpl-data
> copying lib/matplotlib/mpl-data/matplotlib.conf ->
> build/lib.macosx-10.6-intel-2.6/matplotlib/mpl-data
> running build_ext
> building 'matplotlib.ft2font' extension
> gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
> -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
> -Wall -Wstrict-prototypes -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
> -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
> -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2
> -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
> -c src/ft2font.cpp -o build/temp.macosx-10.6-intel-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:13:22: error: ft2build.h: No such file or directory
> src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>
> 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>
> In file included from src/ft2font.cpp:1:
> src/ft2font.h:31: error: ‘FT_Bitmap’ has not been declared
> src/ft2font.h:31: error: ‘FT_Int’ has not been declared
> src/ft2font.h:31: error: ‘FT_Int’ has not been declared
> src/ft2font.h:77: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.h:77: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
> src/ft2font.h:83: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.h:83: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
> src/ft2font.h:122: error: ‘FT_Face’ does not name a type
> src/ft2font.h:123: error: ‘FT_Matrix’ does not name a type
> src/ft2font.h:124: error: ‘FT_Vector’ does not name a type
> src/ft2font.h:125: error: ‘FT_Error’ does not name a type
> src/ft2font.h:126: error: ‘FT_Glyph’ was not declared in this scope
> src/ft2font.h:126: error: template argument 1 is invalid
> src/ft2font.h:126: error: template argument 2 is invalid
> src/ft2font.h:127: error: ‘FT_Vector’ was not declared in this scope
> src/ft2font.h:127: error: template argument 1 is invalid
> src/ft2font.h:127: error: template argument 2 is invalid
> src/ft2font.h:133: error: ‘FT_BBox’ does not name a type
> src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
> src/ft2font.cpp:96: error: variable or field ‘draw_bitmap’ declared void
> src/ft2font.cpp:96: error: ‘FT_Bitmap’ was not declared in this scope
> src/ft2font.cpp:96: error: ‘bitmap’ was not declared in this scope
> src/ft2font.cpp:97: error: ‘FT_Int’ was not declared in this scope
> src/ft2font.cpp:98: error: ‘FT_Int’ was not declared in this scope
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1187:
> 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:13:22: error: ft2build.h: No such file or directory
> src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>
> 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>
> In file included from src/ft2font.cpp:1:
> src/ft2font.h:31: error: ‘FT_Bitmap’ has not been declared
> src/ft2font.h:31: error: ‘FT_Int’ has not been declared
> src/ft2font.h:31: error: ‘FT_Int’ has not been declared
> src/ft2font.h:77: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.h:77: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
> src/ft2font.h:83: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.h:83: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
> src/ft2font.h:122: error: ‘FT_Face’ does not name a type
> src/ft2font.h:123: error: ‘FT_Matrix’ does not name a type
> src/ft2font.h:124: error: ‘FT_Vector’ does not name a type
> src/ft2font.h:125: error: ‘FT_Error’ does not name a type
> src/ft2font.h:126: error: ‘FT_Glyph’ was not declared in this scope
> src/ft2font.h:126: error: template argument 1 is invalid
> src/ft2font.h:126: error: template argument 2 is invalid
> src/ft2font.h:127: error: ‘FT_Vector’ was not declared in this scope
> src/ft2font.h:127: error: template argument 1 is invalid
> src/ft2font.h:127: error: template argument 2 is invalid
> src/ft2font.h:133: error: ‘FT_BBox’ does not name a type
> src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
> src/ft2font.cpp:96: error: variable or field ‘draw_bitmap’ declared void
> src/ft2font.cpp:96: error: ‘FT_Bitmap’ was not declared in this scope
> src/ft2font.cpp:96: error: ‘bitmap’ was not declared in this scope
> src/ft2font.cpp:97: error: ‘FT_Int’ was not declared in this scope
> src/ft2font.cpp:98: error: ‘FT_Int’ was not declared in this scope
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1187:
> warning: ‘int _import_array()’ defined but not used
> lipo: can't figure out the architecture type of: /var/tmp//ccrnooej.out
> error: command 'gcc' failed with exit status 1
>
> It seems that freetype2 is not found which I tried to remedy by adding
> the following lines to the check_freetype function in setupext.py
> module.include_dirs.append('/usr/local/include')
> module.include_dirs.append('/usr/local/include/freetype2')
> This removes the warning about the header files but the compiling
> error remains (the pkg-config warning also remains).
>
> Any suggestions?
>
> Kind regards,
>
> Pim Schellart
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Pim S. <p.s...@gm...> - 2010年05月25日 15:03:42
Hi Everyone,
I am attempting to compile matplotlib against a 64 bit version of
Python 2.6 compiled and installed from source on OSX 10.6 (Snow
Leopard).
Numpy, scipy, freetype2 and libpng have been installed and work just
fine, however I cannot get matplotlib to compile correctly.
I get the following output:
matplotlib-0.99.1.1 $ sudo python setup.py install
============================================================================
BUILDING MATPLOTLIB
 matplotlib: 0.99.1.1
 python: 2.6.5 (r265:79063, May 25 2010, 11:45:36) [GCC
 4.2.1 (Apple Inc. build 5659)]
 platform: darwin
REQUIRED DEPENDENCIES
 numpy: 1.4.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: 73770, 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: matplotlib will provide
 pytz: matplotlib will provide
adding pytz
OPTIONAL USETEX DEPENDENCIES
 dvipng: 1.12
 ghostscript: 8.70
 latex: 3.1415926
[Edit setup.cfg to suppress the above messages]
============================================================================
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends',
'matplotlib.projections', 'mpl_toolkits', 'mpl_toolkits.mplot3d',
'mpl_toolkits.axes_grid', 'matplotlib.sphinxext',
'matplotlib.numerix', 'matplotlib.numerix.mlab',
'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra',
'matplotlib.numerix.random_array', 'matplotlib.numerix.fft',
'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil/zoneinfo']
running install
running build
running build_py
copying lib/matplotlib/mpl-data/matplotlibrc ->
build/lib.macosx-10.6-intel-2.6/matplotlib/mpl-data
copying lib/matplotlib/mpl-data/matplotlib.conf ->
build/lib.macosx-10.6-intel-2.6/matplotlib/mpl-data
running build_ext
building 'matplotlib.ft2font' extension
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2
-I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c src/ft2font.cpp -o build/temp.macosx-10.6-intel-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:13:22: error: ft2build.h: No such file or directory
src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>
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>
In file included from src/ft2font.cpp:1:
src/ft2font.h:31: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:77: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:77: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:83: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:83: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:122: error: ‘FT_Face’ does not name a type
src/ft2font.h:123: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:124: error: ‘FT_Vector’ does not name a type
src/ft2font.h:125: error: ‘FT_Error’ does not name a type
src/ft2font.h:126: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:126: error: template argument 1 is invalid
src/ft2font.h:126: error: template argument 2 is invalid
src/ft2font.h:127: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:127: error: template argument 1 is invalid
src/ft2font.h:127: error: template argument 2 is invalid
src/ft2font.h:133: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:96: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:96: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:96: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:97: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:98: error: ‘FT_Int’ was not declared in this scope
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1187:
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:13:22: error: ft2build.h: No such file or directory
src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>
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>
In file included from src/ft2font.cpp:1:
src/ft2font.h:31: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:77: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:77: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:83: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:83: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:122: error: ‘FT_Face’ does not name a type
src/ft2font.h:123: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:124: error: ‘FT_Vector’ does not name a type
src/ft2font.h:125: error: ‘FT_Error’ does not name a type
src/ft2font.h:126: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:126: error: template argument 1 is invalid
src/ft2font.h:126: error: template argument 2 is invalid
src/ft2font.h:127: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:127: error: template argument 1 is invalid
src/ft2font.h:127: error: template argument 2 is invalid
src/ft2font.h:133: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:96: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:96: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:96: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:97: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:98: error: ‘FT_Int’ was not declared in this scope
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1187:
warning: ‘int _import_array()’ defined but not used
lipo: can't figure out the architecture type of: /var/tmp//ccrnooej.out
error: command 'gcc' failed with exit status 1
It seems that freetype2 is not found which I tried to remedy by adding
the following lines to the check_freetype function in setupext.py
module.include_dirs.append('/usr/local/include')
module.include_dirs.append('/usr/local/include/freetype2')
This removes the warning about the header files but the compiling
error remains (the pkg-config warning also remains).
Any suggestions?
Kind regards,
Pim Schellart
From: Benjamin R. <ben...@ou...> - 2010年05月25日 14:31:26
Chris,
If you have lat-long, you can call your basemap object to convert it to map
coordinates. I forget if you have to call inverse=True or not. Off the top
of my head it would be something like this (assuming 'map' is your Basemap
object that has already been initialized):
> x, y = map(45.0, -104.5, inverse=True)
You can find much more accurate information and examples from doing a
help(map).
Ben Root
On Mon, May 24, 2010 at 6:12 PM, Christopher Barker
<Chr...@no...>wrote:
> Jeff Whitaker wrote:
> > On 5/24/10 10:24 AM, Christopher Barker wrote:
> >> I need to be able to draw a filled polygon from coordinates in memory,
> >> for instance, but didn't see a way to do this directly.
>
>
> > Chris: If you have the map projection coordinates of the polygon,
>
> nope -- we've got lat-long
>
> > you
> > can just use the pyplot commands or axes methods, and then use the
> > Basemap set_axes_limits method to make sure the aspect ratio and axes
> > limits get reset correctly.
>
> I'll look into that too -- if I have time.
>
> Thanks,
> -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...
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
On Tue, May 25, 2010 at 4:08 AM, Thistleryver <mh...@ec...> wrote:
>
> I am attempting to run a lot of tests automatically and generate a graph for
> each one. However, at the moment, the previous graph remains on the figure
> and the next plot is drawn over it.
>
> I have read extensively the documentation and I have tried a whole lot of
> different commands but to no avail. In the previous post it said to use
> pylab.clf() which is exactly what I've been trying to use.
>
> So far I have used pylab.cla(), pylab.clf() and pylab.close() although I
> believe that this only closes an open figure window. I have no idea why it
> is not working now especially since it would appear that my question had
> already been answered in both the documentation and the forums.
>
> I am using Python 2.6.4 on Ubuntu Linux.
>
> Here is the relevant code I am using:
>    pylab.plot(xAxis, TrainingPoints, 'b-')
>
>    pylab.plot(xAxis, TestPoints, 'r-')
>
>    pylab.xlabel('Epochs')
>
>    pylab.ylabel('Sum Squared Error')
>
>    pylab.title('Plot of Iris Training Errors')
>
>    outfilename = str(int(LEARNING_RATE)) + ".png"
>    print outfilename
>    pylab.ylim(ymin=0)
>    pylab.savefig(outfilename)
>    pylab.cla()
>    pylab.clf()
w/o seeing the entire code it is difficult to diagnose. Nothing looks
wrong with your code. However, for full control I suggest you use the
API; see examples at
http://matplotlib.sourceforge.net/examples/api/index.html and take a
look at the "artist tutorial" at
http://matplotlib.sourceforge.net/users/artists.html.
In a nutshell
fig = plt.figure()
ax = fig.add_subplot(111)
for param in myparams:
 fig.clf()
 ax.plot(something_with(param))
 ax.set_ylabel('Sum Squared Error')
 ax.set_title('Plot of Iris Training Errors')
 ax.set_ylim(ymin=0)
 outfilename = '%d.png'%param
 fig.savefig(outfilename)
From: John H. <jd...@gm...> - 2010年05月25日 12:51:56
On Tue, May 25, 2010 at 6:46 AM, Omer Khalid <Ome...@ce...> wrote:
> Hi Jae,
> Thanks for your reply and letting me know about this. Can you please point
> me to some code example?
In [226]: t = np.arange(0, 2, 0.05)
In [227]: s = np.sin(2*np.pi*t)
In [228]: plot(t, s, '-')
Out[228]: [<matplotlib.lines.Line2D object at 0x9ef1fcc>]
Approach 1:
In [229]: plot(t, s, 'o', markevery=10)
Out[229]: [<matplotlib.lines.Line2D object at 0x9eb932c>]
Approach 2:
In [230]: plot(t[::5], s[::5], 's')
Out[230]: [<matplotlib.lines.Line2D object at 0x1431f30c>]
From: Omer K. <Ome...@ce...> - 2010年05月25日 11:46:36
Hi Jae,
Thanks for your reply and letting me know about this. Can you please point
me to some code example?
Cheers,
Omer
On Thu, May 20, 2010 at 20:38, Jae-Joon Lee <lee...@gm...> wrote:
>
> http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.plot
>
> use *markevery* keyword.
>
>
> http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.lines.Line2D.set_markevery
>
> If you want more control, you can always draws the lines (without
> markers) first and overplot markers in positions you want separately.
>
> Regards,
>
> -JJ
>
>
>
> On Wed, May 19, 2010 at 11:56 AM, Omer Khalid <Ome...@ce...> wrote:
> > Hi,
> > I am a wondering if it's possible to have few line distinguishing marks
> on
> > the data lines on a chart such as circle, start, square. When I use some
> > thing like this for the color of the graph (i.e. rs, k^), it uses the
> shape
> > for each data point and the lines becomes very thick. All I want is to
> put
> > 4-5 shaper markers on each line with line (the data line will have few
> > hundred data points).
> > Many thanks,
> > Omer
> >
> ------------------------------------------------------------------------------
> >
> >
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
> >
>
I am attempting to run a lot of tests automatically and generate a graph for
each one. However, at the moment, the previous graph remains on the figure
and the next plot is drawn over it.
I have read extensively the documentation and I have tried a whole lot of
different commands but to no avail. In the previous post it said to use
pylab.clf() which is exactly what I've been trying to use.
So far I have used pylab.cla(), pylab.clf() and pylab.close() although I
believe that this only closes an open figure window. I have no idea why it
is not working now especially since it would appear that my question had
already been answered in both the documentation and the forums.
I am using Python 2.6.4 on Ubuntu Linux.
Here is the relevant code I am using:
	pylab.plot(xAxis, TrainingPoints, 'b-')
	pylab.plot(xAxis, TestPoints, 'r-')
	pylab.xlabel('Epochs')
	pylab.ylabel('Sum Squared Error')
	pylab.title('Plot of Iris Training Errors')
	outfilename = str(int(LEARNING_RATE)) + ".png"
	print outfilename
	pylab.ylim(ymin=0)
	pylab.savefig(outfilename)
	pylab.cla()
	pylab.clf()
I really hope one of you can spot an error otherwise I am completely stuck.
-- 
View this message in context: http://old.nabble.com/Clearing-A-Figure-%28I-Know-That-This-Has-Been-Posted-Before-But-I-Does-Not-Work-For-Me%29-tp28665976p28665976.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Christopher B. <Chr...@no...> - 2010年05月24日 23:12:58
Jeff Whitaker wrote:
> On 5/24/10 10:24 AM, Christopher Barker wrote:
>> I need to be able to draw a filled polygon from coordinates in memory,
>> for instance, but didn't see a way to do this directly.
> Chris: If you have the map projection coordinates of the polygon,
nope -- we've got lat-long
> you 
> can just use the pyplot commands or axes methods, and then use the 
> Basemap set_axes_limits method to make sure the aspect ratio and axes 
> limits get reset correctly.
I'll look into that too -- if I have time.
Thanks,
 -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...
From: Eric F. <ef...@ha...> - 2010年05月24日 19:11:13
On 04/09/2010 06:44 AM, Mathew Yeates wrote:
> Can anyone verify this? If so, I'll submit it to the tracker.
>
> The following works without the --pylab switch but not with it. The error I
> get is some how related to a call to get the active figure which returns
> None.
>
> C:\Python26\lib\site-packages\mpl_toolkits\basemap\__init__.pyc in
> set_axes_limi
> ts(self, ax)
> 2531 if is_interactive():
> 2532 figManager = _pylab_helpers.Gcf.get_active()
> -> 2533 figManager.canvas.draw()
>
> AttributeError:'NoneType' object has no attribute'canvas'.
>
> In the following code. the error happens at
> m.drawcoastlines()
>
> Help?
Mathew,
Going back through my email stack I found your message. Testing on my 
machine, using mpl and basemap from svn, and using "ipython --pylab", I 
don't see any error. The code that you show having raised the exception 
no longer exists--there is no longer any reference to _pylab_helpers--so 
I think the problem has been solved.
Eric
>
> ===============================================
> from mpl_toolkits.basemap import Basemap, shiftgrid
> import numpy as np
> import matplotlib.pyplot as plt
> from matplotlib.backends.backend_gtkagg import \
> FigureCanvasGTKAgg as FigureCanvas
> import gtk
>
> # create new figure
> #fig=plt.figure()
> from matplotlib.figure import Figure
> fig = Figure(figsize=(5,5), dpi=100)
> canvas = FigureCanvas(fig)
> window = gtk.Window(gtk.WINDOW_TOPLEVEL)
> window.add(canvas)
> # setup cylindrical equidistant map projection (global domain).
> ax = fig.add_axes([0.1,0.1,0.7,0.7])
> m = Basemap(llcrnrlon=-180.,llcrnrlat=-90,urcrnrlon=180.,urcrnrlat=90.,\
> resolution='c',area_thresh=10000.,projection='cyl',ax=ax)
> m.drawcoastlines()
> m.tissot(-117,34,10,10)
> #plt.show()
> canvas.show()
> window.show()
>
From: Eric F. <ef...@ha...> - 2010年05月24日 18:48:44
On 05/24/2010 07:08 AM, Dharhas Pothina wrote:
> Hi,
>
> I'm trying to use plot_date to plot some USGS daily flow data. I seem to have hit a bug in the plotting where large spikes in data are not being plotted at all scales.
>
It's the known path simplification bug, which has been fixed in svn. If 
you can't run an mpl built from svn, the workaround is to turn off path 
simplification, e.g.
rcParams['path.simplify'] = False
or the equivalent in the matplotlibrc file.
Eric
From: Eric F. <ef...@ha...> - 2010年05月24日 18:43:48
On 05/24/2010 07:43 AM, Jeff Whitaker wrote:
> On 5/24/10 10:09 AM, P. R.M. wrote:
>> Hi,
>> Im trying to create a precipitation contour plot using imshow() and
>> basemap.
>> Id like to draw the imshow() plot so that it overlays the filled
>> continents, yet NOT the continental outlines.
>> unfortunately, it appears that imshow()'s graphics are always drawn
>> before everything else, so its 'zorder' argument is useless with basemap.
>> the imshow() output is always at the bottom layer, with everthing else
>> being overlaid on it & covering it up.
>>
>> is there a work-around for this, so that I can layer imshow()'s output
>> between my calls to 'basemap.fillcontinents()' and
>> 'basemap.drawcoastlines()'???
>>
>> please help,
>>
>> thanks,
>> p.romero
>
> I don't think this is possible - zorder doesn't work with images. You
> can use transparency though.
Zorder works with images in svn, but maybe this change was after the 
last release.
Eric
From: P. R.M. <rom...@ho...> - 2010年05月24日 18:42:47
Jeff,
would it be possible to achieve this type of layering using 
multiple overlaid (sub) plots?
If so, how would I go about this?
 Send
do you know of any way I 
might be able to create a custom 'hack' into the imshow code (within the
 matplotlib core) ???
thanks again, 
p.romero
Date: 2010年5月24日 11:43:04 -0600
From: js...@fa...
Subject: Re: [Matplotlib-users] setting zorder for basemap.imshow();	overlay on continents
To: rom...@ho...; mat...@li...
 
 
On 5/24/10 10:09 AM, P. R.M. wrote:
 Hi,
Im trying to create a precipitation contour plot using imshow() and
basemap.
Id like to draw the imshow() plot so that it overlays the filled
continents, yet NOT the continental outlines.
unfortunately, it appears that imshow()'s graphics are always drawn
before everything else, so its 'zorder' argument is useless with
basemap.
the imshow() output is always at the bottom layer, with everthing else
being overlaid on it & covering it up.
 
is there a work-around for this, so that I can layer imshow()'s output
between my calls to 'basemap.fillcontinents()' and
'basemap.drawcoastlines()'??? 
 
please help,
 
thanks,
p.romero
I don't think this is possible - zorder doesn't work with images. You
can use transparency though.
-Jeff
-- 
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jef...@no...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
 		 	 		 
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 
From: P. R.M. <rom...@ho...> - 2010年05月24日 18:42:14
hello,
please ignore my last response; I responded to the wrong mailing list message...
From: rom...@ho...
To: js...@fa...; chr...@no...; mat...@li...
Date: 2010年5月24日 13:10:23 -0500
Subject: Re: [Matplotlib-users] [matplotlib-devel] basemap domain	changes	on	pyplot call
Jeff,
would it be possible to achieve this type of layering using multiple overlaid (sub) plots?
If so, how would I go about this?
 Send
do you know of any way I might be able to create a custom 'hack' into the imshow code (within the matplotlib core) ???
thanks again, 
p.romero
> Date: 2010年5月24日 11:44:53 -0600
> From: js...@fa...
> To: Chr...@no...; mat...@li...
> Subject: Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes	on	pyplot call
> 
> On 5/24/10 10:24 AM, Christopher Barker wrote:
> > Benjamin Root wrote:
> > 
> >> On Fri, May 21, 2010 at 5:16 PM, Jeff Whitaker<js...@fa...
> >> Ben: That's why you should use the basemap methods where possible
> >> (they handle these things for you).
> >>
> >>
> >> Yeah, that wasn't possible in my case. In addition, not all pyplot
> >> plotting functions are available (nor do I expect Basemap to have all of
> >> them available).
> >> 
> > Though it would be nice to add more as we need them. I assume Jeff will
> > take contributions.
> >
> > I need to be able to draw a filled polygon from coordinates in memory,
> > for instance, but didn't see a way to do this directly. If I get a
> > chance, I will look into .drawshapefile(), and figure I can see how to
> > do it from there.
> >
> > -Chris
> >
> >
> >
> > 
> Chris: If you have the map projection coordinates of the polygon, you 
> can just use the pyplot commands or axes methods, and then use the 
> Basemap set_axes_limits method to make sure the aspect ratio and axes 
> limits get reset correctly.
> 
> -Jeff
> 
> -- 
> Jeffrey S. Whitaker Phone : (303)497-6313
> Meteorologist FAX : (303)497-6449
> NOAA/OAR/PSD R/PSD1 Email : Jef...@no...
> 325 Broadway Office : Skaggs Research Cntr 1D-113
> Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
> 
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
 		 	 		 
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. Learn more. 		 	 		 
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 
On 05/24/2010 04:55 AM, Benjamin Root wrote:
>
> On Thu, May 20, 2010 at 1:06 AM, ayuffa <ay...@gm...
> <mailto:ay...@gm...>> wrote:
>
>
> Does anyone have another fix for this problem that DOES NOT produce HUGE
> PDF/EPS files?
>
> I believe that the latest SVN revision should allow you to set
> rasterized=True for the call to contourf. I don't know if the relevant
> code has been checked in or not. This should help with producing pdf
> files (and theoretically, eps files, although that backend might need
> some more work...).
The OP's problem is caused by a path simplification bug that is fixed in 
svn, so if the OP can build mpl from svn, then there is no need to turn 
on rasterization.
Eric
>
> Ben Root
>
>
>
> ------------------------------------------------------------------------------
>
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: P. R.M. <rom...@ho...> - 2010年05月24日 18:10:31
Jeff,
would it be possible to achieve this type of layering using multiple overlaid (sub) plots?
If so, how would I go about this?
do you know of any way I might be able to create a custom 'hack' into the imshow code (within the matplotlib core) ???
thanks again, 
p.romero
> Date: 2010年5月24日 11:44:53 -0600
> From: js...@fa...
> To: Chr...@no...; mat...@li...
> Subject: Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes	on	pyplot call
> 
> On 5/24/10 10:24 AM, Christopher Barker wrote:
> > Benjamin Root wrote:
> > 
> >> On Fri, May 21, 2010 at 5:16 PM, Jeff Whitaker<js...@fa...
> >> Ben: That's why you should use the basemap methods where possible
> >> (they handle these things for you).
> >>
> >>
> >> Yeah, that wasn't possible in my case. In addition, not all pyplot
> >> plotting functions are available (nor do I expect Basemap to have all of
> >> them available).
> >> 
> > Though it would be nice to add more as we need them. I assume Jeff will
> > take contributions.
> >
> > I need to be able to draw a filled polygon from coordinates in memory,
> > for instance, but didn't see a way to do this directly. If I get a
> > chance, I will look into .drawshapefile(), and figure I can see how to
> > do it from there.
> >
> > -Chris
> >
> >
> >
> > 
> Chris: If you have the map projection coordinates of the polygon, you 
> can just use the pyplot commands or axes methods, and then use the 
> Basemap set_axes_limits method to make sure the aspect ratio and axes 
> limits get reset correctly.
> 
> -Jeff
> 
> -- 
> Jeffrey S. Whitaker Phone : (303)497-6313
> Meteorologist FAX : (303)497-6449
> NOAA/OAR/PSD R/PSD1 Email : Jef...@no...
> 325 Broadway Office : Skaggs Research Cntr 1D-113
> Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
> 
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
 		 	 		 
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 
9 messages has been excluded from this view by a project administrator.

Showing results of 303

<< < 1 2 3 4 5 6 .. 13 > >> (Page 4 of 13)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /