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





Showing 5 results of 5

From: Russell E. O. <ro...@uw...> - 2011年10月11日 20:23:59
I was hoping to build a matplotlib binary installer for python.org's 
64-bit Python (MacOS X 10.6 and later). But I've run into problems that 
make me think python.org's python is not fully compatible with 
ActiveState Tcl/Tk.
Here's what I have:
MacOS X 10.6.8
Python: python-2.7.2-macosx10.6.dmg
Tcl/TK: ActiveTcl8.5.10.1.295062-macosx10.5-i386-x86_64-threaded.dmg
XCode 3.2.6
matplotlib 1.1.0
I edited setupext.py in the matplotlib source directory to set darwin to:
  'darwin' : ['/usr', '/usr/X11'],
The idea was to use only Apple's own libraries for the dependencies.
I did not install wxPython because, as I understand it, there is no 
64-bit version.
matplotlib seems to build OK (see appended log) though there are 
disturbing messages such as these:
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
I can import and run Tkinter, though I've not done anything beyond 
putting up a root window.
But when I try to import pylab I get:
objc[1083]: Class TKApplication is implemented in both 
/Library/Frameworks/Tk.framework/Versions/8.5/Tk and 
/System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two 
will be used. Which one is undefined.
objc[1083]: Class TKMenu is implemented in both 
/Library/Frameworks/Tk.framework/Versions/8.5/Tk and 
/System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two 
will be used. Which one is undefined.
objc[1083]: Class TKContentView is implemented in both 
/Library/Frameworks/Tk.framework/Versions/8.5/Tk and 
/System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two 
will be used. Which one is undefined.
objc[1083]: Class TKWindow is implemented in both 
/Library/Frameworks/Tk.framework/Versions/8.5/Tk and 
/System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two 
will be used. Which one is undefined.
Any idea how to deal with this? I've never seen this before and google 
was no help. Others have seen this problem but I saw no solution.
-- Russell
P.S. partial log of build (not install) of matplotlib:
BUILDING MATPLOTLIB
      matplotlib: 1.1.0
        python: 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
            [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
       platform: darwin
REQUIRED DEPENDENCIES
        numpy: 1.6.1
      freetype2: found, but unknown version (no pkg-config)
OPTIONAL BACKEND DEPENDENCIES
        libpng: found, but unknown version (no pkg-config)
       Tkinter: Tkinter: version not identified, Tk: 8.5, Tcl: 8.5
         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: no
     ghostscript: /bin/sh: gs: command not found
        latex: no
[Edit setup.cfg to suppress the above messages]
=========================================================================
===
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends', 
'matplotlib.backends.qt4_editor', 'matplotlib.projections', 
'matplotlib.testing', 'matplotlib.testing.jpl_units', 
'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 
'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 
'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.tri', 
'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil.zoneinfo']
running build
running build_py
...
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG 
-g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 
-I/Library/Frameworks/Tcl.framework/Headers 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders 
-I/Library/Frameworks/Tk.framework/Headers 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders 
-I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -Isrc -Iagg24/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Tcl.framework/Headers/freetype2 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders/freet
ype2 -I/Library/Frameworks/Tk.framework/Headers/freetype2 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders/freety
pe2 -I/usr/include/freetype2 -I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -Isrc/freetype2 
-Iagg24/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -I/usr/include/freetype2 
-I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
src/agg_py_transforms.cpp -o 
build/temp.macosx-10.6-intel-2.7/src/agg_py_transforms.o -framework Tcl 
-framework Tk
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG 
-g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 
-I/Library/Frameworks/Tcl.framework/Headers 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders 
-I/Library/Frameworks/Tk.framework/Headers 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders 
-I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -Isrc -Iagg24/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Tcl.framework/Headers/freetype2 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders/freet
ype2 -I/Library/Frameworks/Tk.framework/Headers/freetype2 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders/freety
pe2 -I/usr/include/freetype2 -I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -Isrc/freetype2 
-Iagg24/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -I/usr/include/freetype2 
-I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
src/_tkagg.cpp -o build/temp.macosx-10.6-intel-2.7/src/_tkagg.o 
-framework Tcl -framework Tk
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG 
-g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 
-I/Library/Frameworks/Tcl.framework/Headers 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders 
-I/Library/Frameworks/Tk.framework/Headers 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders 
-I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -Isrc -Iagg24/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Tcl.framework/Headers/freetype2 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders/freet
ype2 -I/Library/Frameworks/Tk.framework/Headers/freetype2 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders/freety
pe2 -I/usr/include/freetype2 -I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -Isrc/freetype2 
-Iagg24/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -I/usr/include/freetype2 
-I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
CXX/cxx_extensions.cxx -o 
build/temp.macosx-10.6-intel-2.7/CXX/cxx_extensions.o -framework Tcl 
-framework Tk
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG 
-g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 
-I/Library/Frameworks/Tcl.framework/Headers 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders 
-I/Library/Frameworks/Tk.framework/Headers 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders 
-I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -Isrc -Iagg24/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Tcl.framework/Headers/freetype2 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders/freet
ype2 -I/Library/Frameworks/Tk.framework/Headers/freetype2 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders/freety
pe2 -I/usr/include/freetype2 -I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -Isrc/freetype2 
-Iagg24/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -I/usr/include/freetype2 
-I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
CXX/cxxsupport.cxx -o build/temp.macosx-10.6-intel-2.7/CXX/cxxsupport.o 
-framework Tcl -framework Tk
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG 
-g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 
-I/Library/Frameworks/Tcl.framework/Headers 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders 
-I/Library/Frameworks/Tk.framework/Headers 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders 
-I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -Isrc -Iagg24/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Tcl.framework/Headers/freetype2 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders/freet
ype2 -I/Library/Frameworks/Tk.framework/Headers/freetype2 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders/freety
pe2 -I/usr/include/freetype2 -I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -Isrc/freetype2 
-Iagg24/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -I/usr/include/freetype2 
-I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
CXX/IndirectPythonInterface.cxx -o 
build/temp.macosx-10.6-intel-2.7/CXX/IndirectPythonInterface.o 
-framework Tcl -framework Tk
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG 
-g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 
-I/Library/Frameworks/Tcl.framework/Headers 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders 
-I/Library/Frameworks/Tk.framework/Headers 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders 
-I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -Isrc -Iagg24/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Tcl.framework/Headers/freetype2 
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders/freet
ype2 -I/Library/Frameworks/Tk.framework/Headers/freetype2 
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders/freety
pe2 -I/usr/include/freetype2 -I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -Isrc/freetype2 
-Iagg24/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include/freetype2 -I/usr/include/freetype2 
-I/usr/X11/include/freetype2 -I./freetype2 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
CXX/cxxextensions.c -o 
build/temp.macosx-10.6-intel-2.7/CXX/cxxextensions.o -framework Tcl 
-framework Tk
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because 
linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused 
because linking not done
i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because 
linking not done
c++ -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -isysroot /Developer/SDKs/MacOSX10.6.sdk 
-g build/temp.macosx-10.6-intel-2.7/src/agg_py_transforms.o 
build/temp.macosx-10.6-intel-2.7/src/_tkagg.o 
build/temp.macosx-10.6-intel-2.7/CXX/cxx_extensions.o 
build/temp.macosx-10.6-intel-2.7/CXX/cxxsupport.o 
build/temp.macosx-10.6-intel-2.7/CXX/IndirectPythonInterface.o 
build/temp.macosx-10.6-intel-2.7/CXX/cxxextensions.o -L/usr/lib 
-L/usr/X11/lib -L/usr/lib -L/usr/X11/lib -lstdc++ -lm -lfreetype -lz 
-lstdc++ -lm -o 
build/lib.macosx-10.6-intel-2.7/matplotlib/backends/_tkagg.so -framework 
Tcl -framework Tk
building 'matplotlib.backends._macosx' extension
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG 
-g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -I/usr/include -I/usr/X11/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -Isrc -Iagg24/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
src/_macosx.m -o build/temp.macosx-10.6-intel-2.7/src/_macosx.o
src/_macosx.m: In function ŒFigureManager_init1:
src/_macosx.m:3755: warning: class 'View' does not implement the 
'NSWindowDelegate' protocol
src/_macosx.m: In function ŒFigureManager_init1:
src/_macosx.m:3755: warning: class 'View' does not implement the 
'NSWindowDelegate' protocol
From: Christoph G. <cg...@uc...> - 2011年10月11日 17:20:46
The minimum versions of numpy required for the matplotlib-1.1.0 Windows 
installers are:
numpy-1.4.1 win32-py2.5
numpy-1.5.1 win32-py2.6
numpy-1.5.1 win32-py2.7
numpy-1.6.1 win-amd64-py2.x
Christoph
On 10/11/2011 6:00 AM, John Hunter wrote:
> A new release of matplotlib is available for download at
>
> https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0
>
> There are lots of nifty new features like Sankey diagrams, an API for
> animations and movie making, enhanced 3D support, support for
> auto-layout of subplots with titles, xlabels and ylabels to prevent
> text from running off the edge of the figure (tight_layout), pyside
> supoprt, enhanced legends, and tons of other minor features and
> bug-fixes. See what's new at
>
> http://matplotlib.sourceforge.net/users/whats_new.html
>
> and the CHANGELOG at
>
> https://github.com/matplotlib/matplotlib/blob/v1.1.x/CHANGELOG
>
> and the commit history at
>
> https://github.com/matplotlib/matplotlib/commits/v1.1.x/
>
> Please post issues on the github issue tracker and questions on the mailing list
>
> https://github.com/matplotlib/matplotlib/issues
>
> Thanks to all the matplotlib developers who contributed to this
> release, with special thanks to Michael Droettboom, Eric Firing,
> Benjamin Root, Jouni Seppänen, Kevin Davies and Jae-Joon Lee for lots
> of code contributions and bug fixes and to Christoph Gohlke and
> Russell Owen for the windows and OX X binary installers.
>
> JDH
>
From: Keith H. <kei...@gm...> - 2011年10月11日 16:09:41
Hi all,
Does anyone know of a good way to create a new LinearSegmentedColormap based
off an existing one?
I have a function which attempts to generate N "optimal" color map indices
for a given data array. In cases where the number of values specified
in _segmentdata is the same as N, then I can simply copy _segmentdata and
modify the indices and create a new color map. In many cases, however, the
segment data has far fewer interpolation points, e.g.:
In [52]: cm.gray._segmentdata
Out[52]:
{'blue': ((0.0, 0, 0), (1.0, 1, 1)),
 'green': ((0.0, 0, 0), (1.0, 1, 1)),
 'red': ((0.0, 0, 0), (1.0, 1, 1))}
Other colormaps may have an arbitrary number of interpolation points.
Ideally, what I would like is a way to expand this into N points (e.g. 256)
so that I use that as input for my new map.
Any suggestions? I found a similar
post<http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTik0v7nh4NB1rOBCP_dFQfS2JJoe0S6NeUrw0p6k%40mail.gmail.com&forum_name=matplotlib-users>from
last year, but that doesn't seem to be applicable in the version of
Matplotlib I'm using (1.1.0).
Thanks,
Keith
From: John H. <jd...@gm...> - 2011年10月11日 13:01:12
A new release of matplotlib is available for download at
 https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0
There are lots of nifty new features like Sankey diagrams, an API for
animations and movie making, enhanced 3D support, support for
auto-layout of subplots with titles, xlabels and ylabels to prevent
text from running off the edge of the figure (tight_layout), pyside
supoprt, enhanced legends, and tons of other minor features and
bug-fixes. See what's new at
 http://matplotlib.sourceforge.net/users/whats_new.html
and the CHANGELOG at
 https://github.com/matplotlib/matplotlib/blob/v1.1.x/CHANGELOG
and the commit history at
 https://github.com/matplotlib/matplotlib/commits/v1.1.x/
Please post issues on the github issue tracker and questions on the mailing list
 https://github.com/matplotlib/matplotlib/issues
Thanks to all the matplotlib developers who contributed to this
release, with special thanks to Michael Droettboom, Eric Firing,
Benjamin Root, Jouni Seppänen, Kevin Davies and Jae-Joon Lee for lots
of code contributions and bug fixes and to Christoph Gohlke and
Russell Owen for the windows and OX X binary installers.
JDH
From: Chang, C. <Chr...@nr...> - 2011年10月11日 03:37:51
Hi,
 Trying to install 1.0.1 on OSX 10.6, with python 2.7 (built from source), GCC 4.6.1 built from source (to get Fortran compiler), numpy 1.6.1, and libpng 1.4.8. Modified setup.cfg to specify TkAgg backend, and setupext.py line 832 (remove the "[-2]" to get around list indexing error, maybe a change in Tkinter output?). During build, I'm getting the following death:
g++ -bundle -undefined dynamic_lookup build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o build/temp.macosx-10.6-x86_64-2.7/CXX/cxx_extensions.o build/temp.macosx-10.6-x86_64-2.7/CXX/cxxextensions.o build/temp.macosx-10.6-x86_64-2.7/CXX/cxxsupport.o build/temp.macosx-10.6-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.macosx-10.6-x86_64-2.7/src/agg_py_transforms.o build/temp.macosx-10.6-x86_64-2.7/src/path_cleanup.o -lstdc++ -lm -o build/lib.macosx-10.6-x86_64-2.7/matplotlib/backends/_macosx.so -framework Cocoa
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: warning: -fwritable-strings not compatible with literal CF/NSString in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
ld: in build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o, S_LITERAL_POINTERS section __DATA,__objc_selrefs missing relocs
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
I don't know if the "writable-strings" business is a practical problem, but the "missing relocs" seems to be a deal-breaker. Any suggestions?
Thanks,
Chris
--
Christopher H. Chang, Ph.D.
Scientist IV, Computational Science
Conputational Sciences Center
National Renewable Energy Laboratory
1617 Cole Blvd., MS 1608
Golden, CO 80401
Phone (303) 275-3751
Fax (303) 275-4007
1 message has been excluded from this view by a project administrator.

Showing 5 results of 5

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 によって変換されたページ (->オリジナル) /