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
(16) |
2
(16) |
3
(5) |
|
4
(4) |
5
(4) |
6
(10) |
7
(33) |
8
(11) |
9
(20) |
10
(7) |
|
11
(8) |
12
(18) |
13
(27) |
14
(21) |
15
(15) |
16
(10) |
17
(12) |
|
18
(3) |
19
(12) |
20
(12) |
21
(14) |
22
(32) |
23
(15) |
24
(20) |
|
25
(12) |
26
(32) |
27
(29) |
28
(17) |
29
(25) |
30
(12) |
31
(5) |
|
From: Benjamin R. <ben...@ou...> - 2010-07-20 20:29:14
|
Somehow, this doesn't seem very satisfying. It is almost accidental. There has to be a better way to do this. Ben Root 2010/7/20 Thøger Emil Juul Thorsen <th...@fy...> > One way is to specify the axes manually, e.g. setting: > > (with matyplotlib.pyplot importad as plt:) > > plt.axis([200, 500, -600, 600]) > > ...or whatever seems fitting for you, and do that on both of the y axes. > That should align them nicely. > > On Sat, 2010-07-17 at 20:37 +0200, Daniele Padula wrote: > > Hi everybody, > > I have a problem with a plot. I attach a figure to be easily > understandable. > > > > As you can see from the figure, I have in the same area a line and a bar > > plot. The problem is that y=0 for right y axis is different with respect > > to left y axis one. I want the two y=0 to be the same. > > > > How can i do that? > > > > Excuse me for my bad english, I'm italian :) > > > > Thanks in advance. > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Sprint > > What will you do first with EVO, the first 4G phone? > > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > _______________________________________________ Matplotlib-users mailing > list Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Tommy G. <tg...@ma...> - 2010-07-20 19:48:01
|
Sorry for the badly formatted email with broken threading (I realized that my matplotlib-user subscription was held due to my email bouncing earlier in the month. > Re: [Matplotlib-users] Compile error > From: Michael Droettboom <mdroe@st...> - 2010-07-20 17:17 > It looks as if you do not have the freetype development headers installed. > > Mike > Where should the freeetype headers be? I thought they were installed when calling make with the dependencies being fetched? Tommy |
|
From: Darren D. <dsd...@gm...> - 2010-07-20 18:31:31
|
On Fri, Jun 18, 2010 at 7:50 AM, Darren Dale <dsd...@gm...> wrote:
> On Thu, Jun 17, 2010 at 11:04 PM, David Smith <dav...@gm...> wrote:
>> I have been developing an application using PyQt ant Matplotlib and encountered
>> a problem with the mouse cursor shape being incorrect. I found a work-around
>> that seems to work, but I think this is a bug and the fix needs to go into the
>> Matplotlib code base. Here are details.
>>
>> My application has a central widget used fo r a Matplotlib Figure.
>> Additionally there is a menu bar, button bar and two dock panels with
>> controls for the plot. I see the following behavior for the cursor:
>>
>> * On start up, the cursor acts normally on startup provided
>> the mouse cursor is not inside the figure widget on start-up.
>>
>> * Mouse pointer shapes are set by Windows (in this case VISTA)
>> and change shape according to location. For example, touching
>> the application window's border results in the arrow pointer
>> changing shape to a double-headed arrow indicating the border
>> can be dragged to adjust the size of the window.
>>
>> * Once the mouse pointer touches the Matplotlib figure widget
>> in any way, the mouse pointer will cease to show the double-arrow
>> shape on the window borders - the pointer remains an arrowhead.
>> You can still resize the window and the cursor does change to
>> a double-arrow when you press the left button.
>>
>> My workaround for this was to add the following lines of code in my
>> application:
>>
>> def onleave(self):
>> QtGui.QApplication.restoreOverrideCursor()
>>
>> self.fig.canvas.mpl_connect('figure_leave_event', onleave)
>>
>> I guessed these lines by studying the matplotlib code. Probably they
>> need to go somewhere inside the Matplotlib class definitions.
>>
>> I hope this helps developers to correct this problem. My application
>> code is medium-large and I didn't try to build a smaller example. The
>> mysterious 3-line workaround solves my problem for the moment.
>> Perhaps it will help another PyQt and Matplotlib user and perhaps
>> urge developers to fix the problem in the Matplotlib core.
>
> Now that you mention it, I have seen similar behavior. Thanks for the
> report, I'll look into it.
I think this has been fixed in svn, on both the maintenance branch and
the trunk.
|
|
From: Michael D. <md...@st...> - 2010-07-20 17:17:27
|
It looks as if you do not have the freetype development headers installed. Mike On 07/20/2010 01:00 PM, Tommy Grav wrote: > I am trying to compile matplotlib for ActiveState 2.7.0.1 - 64bit on mac os x. > I have installed numpy 1.4.1 and scipy 0.8.0 from source. Compiling matplotlib > using > > sudo make -f make.osx fetch deps mpl_build mpl_install > > works fine, but > > sudo python setup.py build > > yields the error below. Anyone know how to fix this problem? > > Cheers > Tommy > > > > basedirlist is: [] > ============================================================================ > BUILDING MATPLOTLIB > matplotlib: 1.0.0 > python: 2.7 (r27:82500, Jul 4 2010, 13:58:56) [GCC 4.2.1 > (Apple Inc. build 5664)] > 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 '.' > 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: 8.63 > latex: no > > [Edit setup.cfg to suppress the above messages] > ============================================================================ > pymods ['pylab'] > packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projections', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra', 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft', 'matplotlib.tri', 'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil/zoneinfo'] > running build > running build_py > copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.macosx-10.5-intel-2.7/matplotlib/mpl-data > copying lib/matplotlib/mpl-data/matplotlib.conf -> build/lib.macosx-10.5-intel-2.7/matplotlib/mpl-data > running build_ext > building 'matplotlib.ft2font' extension > gcc -fno-strict-aliasing -fPIC -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.5.sdk/ -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -I. -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/ft2font.cpp -o build/temp.macosx-10.5-intel-2.7/src/ft2font.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ > In file included from src/ft2font.cpp:1: > src/ft2font.h:14:22: error: ft2build.h: No such file or directory > src/ft2font.h:15:10: error: #include expects "FILENAME" or<FILENAME> > src/ft2font.h:16:10: error: #include expects "FILENAME" or<FILENAME> > src/ft2font.h:17:10: error: #include expects "FILENAME" or<FILENAME> > src/ft2font.h:18:10: error: #include expects "FILENAME" or<FILENAME> > src/ft2font.h:19:10: error: #include expects "FILENAME" or<FILENAME> > In file included from src/ft2font.cpp:1: > src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared > src/ft2font.h:33: error: ‘FT_Int’ has not been declared > src/ft2font.h:33: error: ‘FT_Int’ has not been declared > src/ft2font.h:89: error: expected ‘,’ or ‘...’ before ‘&’ token > src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no type > src/ft2font.h:95: error: expected ‘,’ or ‘...’ before ‘&’ token > src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no type > src/ft2font.h:137: error: ‘FT_Face’ does not name a type > src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type > src/ft2font.h:139: error: ‘FT_Vector’ does not name a type > src/ft2font.h:140: error: ‘FT_Error’ does not name a type > src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope > src/ft2font.h:141: error: template argument 1 is invalid > src/ft2font.h:141: error: template argument 2 is invalid > src/ft2font.h:142: error: ‘FT_Vector’ was not declared in this scope > src/ft2font.h:142: error: template argument 1 is invalid > src/ft2font.h:142: error: template argument 2 is invalid > src/ft2font.h:148: error: ‘FT_BBox’ does not name a type > src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type > src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void > src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope > src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope > src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope > src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/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:14:22: error: ft2build.h: No such file or directory > src/ft2font.h:15:10: error: #include expects "FILENAME" or<FILENAME> > src/ft2font.h:16:10: error: #include expects "FILENAME" or<FILENAME> > src/ft2font.h:17:10: error: #include expects "FILENAME" or<FILENAME> > src/ft2font.h:18:10: error: #include expects "FILENAME" or<FILENAME> > src/ft2font.h:19:10: error: #include expects "FILENAME" or<FILENAME> > In file included from src/ft2font.cpp:1: > src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared > src/ft2font.h:33: error: ‘FT_Int’ has not been declared > src/ft2font.h:33: error: ‘FT_Int’ has not been declared > src/ft2font.h:89: error: expected ‘,’ or ‘...’ before ‘&’ token > src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no type > src/ft2font.h:95: error: expected ‘,’ or ‘...’ before ‘&’ token > src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no type > src/ft2font.h:137: error: ‘FT_Face’ does not name a type > src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type > src/ft2font.h:139: error: ‘FT_Vector’ does not name a type > src/ft2font.h:140: error: ‘FT_Error’ does not name a type > src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope > src/ft2font.h:141: error: template argument 1 is invalid > src/ft2font.h:141: error: template argument 2 is invalid > src/ft2font.h:142: error: ‘FT_Vector’ was not declared in this scope > src/ft2font.h:142: error: template argument 1 is invalid > src/ft2font.h:142: error: template argument 2 is invalid > src/ft2font.h:148: error: ‘FT_BBox’ does not name a type > src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type > src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void > src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope > src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope > src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope > src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/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//cc1zVbyh.out > error: command 'gcc' failed with exit status 1 > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Eric F. <ef...@ha...> - 2010-07-20 17:16:44
|
On 07/19/2010 11:59 PM, K.-Michael Aye wrote: > On 2010-07-16 18:48:48 +0200, Eric Firing said: > >>> >>> Furthermore, >>> deleting images from ax.images does not free memory : >> >> Maybe because ipython is keeping a reference to every AxesImage object >> that you make... >> >> Eric > > Well, maybe, but why does it not happen for John? His penultimate post > showed, that his iPython session does not have this problem? Is there a > setting that might influence this apart from the hold state? My suggestion was wrong, and I'm baffled. Running your set of commands with your matplotlibrc (so that tkagg is used), I don't see the change in memory consumption. Maybe it is a problem with tk on the mac. Or something that was changed between 0.99.3 and 1.0. Eric > > Michael > |
|
From: Tommy G. <tg...@ma...> - 2010-07-20 17:01:12
|
I am trying to compile matplotlib for ActiveState 2.7.0.1 - 64bit on mac os x.
I have installed numpy 1.4.1 and scipy 0.8.0 from source. Compiling matplotlib
using
sudo make -f make.osx fetch deps mpl_build mpl_install
works fine, but
sudo python setup.py build
yields the error below. Anyone know how to fix this problem?
Cheers
Tommy
basedirlist is: []
============================================================================
BUILDING MATPLOTLIB
matplotlib: 1.0.0
python: 2.7 (r27:82500, Jul 4 2010, 13:58:56) [GCC 4.2.1
(Apple Inc. build 5664)]
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 '.'
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: 8.63
latex: no
[Edit setup.cfg to suppress the above messages]
============================================================================
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projections', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra', 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft', 'matplotlib.tri', 'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil/zoneinfo']
running build
running build_py
copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.macosx-10.5-intel-2.7/matplotlib/mpl-data
copying lib/matplotlib/mpl-data/matplotlib.conf -> build/lib.macosx-10.5-intel-2.7/matplotlib/mpl-data
running build_ext
building 'matplotlib.ft2font' extension
gcc -fno-strict-aliasing -fPIC -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.5.sdk/ -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -I. -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/ft2font.cpp -o build/temp.macosx-10.5-intel-2.7/src/ft2font.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
In file included from src/ft2font.cpp:1:
src/ft2font.h:14:22: error: ft2build.h: No such file or directory
src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME>
In file included from src/ft2font.cpp:1:
src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.h:89: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:95: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:137: error: ‘FT_Face’ does not name a type
src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:139: error: ‘FT_Vector’ does not name a type
src/ft2font.h:140: error: ‘FT_Error’ does not name a type
src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:141: error: template argument 1 is invalid
src/ft2font.h:141: error: template argument 2 is invalid
src/ft2font.h:142: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:142: error: template argument 1 is invalid
src/ft2font.h:142: error: template argument 2 is invalid
src/ft2font.h:148: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/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:14:22: error: ft2build.h: No such file or directory
src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME>
In file included from src/ft2font.cpp:1:
src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.h:89: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:95: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:137: error: ‘FT_Face’ does not name a type
src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:139: error: ‘FT_Vector’ does not name a type
src/ft2font.h:140: error: ‘FT_Error’ does not name a type
src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:141: error: template argument 1 is invalid
src/ft2font.h:141: error: template argument 2 is invalid
src/ft2font.h:142: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:142: error: template argument 1 is invalid
src/ft2font.h:142: error: template argument 2 is invalid
src/ft2font.h:148: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/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//cc1zVbyh.out
error: command 'gcc' failed with exit status 1
|
|
From: Reinier H. <re...@he...> - 2010-07-20 16:09:02
|
Hi Daniel,
Ok, so it works as expected? Great.
No real need to also bring it up on mpl devel, since I'm the
maintainer of mplot3d anyway ;-)
If you can send me the working code for contourf when you have that
I'll add all of it soon.
Cheers,
Reinier
On Tue, Jul 20, 2010 at 5:41 PM, Daniel Welling <dan...@gm...> wrote:
> Reinier -
> This is exactly what I was looking for! Thank you.
> I will try to get this to work with tricontourf now that I have your
> example; you should strongly consider bringing this up in the devel mailing
> list as including the tri- commands in the 3D kit may be useful to others as
> well (I can do so if you do not wish to spend any more time on this, but I
> will of course credit the fix to you.)
> To give you a better idea why this is useful, see the attached plot. On the
> y=125, z=125 planes, I plot 2D slices of number density from a large scale
> fluid dynamics simulation. In 3D, I will add 3D stream traces to
> characterize the flow around the obstacle. Combining the 3D traces with the
> 2D slices is extremely useful; being able to make these kinds of plots
> quickly through MPL before going to something more powerful, such as Mayavi,
> is very convenient.
> -dw
>
> On Tue, Jul 20, 2010 at 6:32 AM, Reinier Heeres <re...@he...> wrote:
>>
>> Hi Daniel,
>>
>> If you're using the mpl 1.0 or the svn version, you can try to
>> overwrite this file of mplot3d and run the attached modified version
>> of the example you sent. Can you tell me if this is the expected
>> result? For the projection on the planes normal to 'x' and 'y' it
>> doesn't look very appealing to me! (so I'm not sure it's correct)
>>
>> Cheers,
>> Reinier
>>
>> On Mon, Jul 19, 2010 at 11:06 PM, Daniel Welling <dan...@gm...>
>> wrote:
>> > Greetings, MPL Users.
>> > I have been experimenting with Axes3D with the hopes that I could create
>> > some 3d lines and then project some contours on different planes in the
>> > 3D
>> > axes object, much like the contour3d_demo3.py example (but with lines
>> > instead of the 3d wireframe.) The catch, however, is creating the
>> > contour
>> > objects using tricontour instead of a regular contour. Being that I
>> > typically use irregular grids for my research, the triangulate module
>> > has
>> > been a tremendous feature, but it doesn't seem to work with Axes3D
>> > objects.
>> > For example, this quick script:
>> > import matplotlib.pyplot as plt
>> > #import matplotlib.tri as tri
>> > import numpy as np
>> > from numpy.random import uniform, seed
>> > from mpl_toolkits.mplot3d import Axes3D
>> > seed(0)
>> > npts = 200
>> > ngridx = 100
>> > ngridy = 200
>> > x = uniform(-2,2,npts)
>> > y = uniform(-2,2,npts)
>> > z = x*np.exp(-x**2-y**2)
>> > # tricontour.
>> > fig = plt.figure()
>> > ax = Axes3D(fig)
>> > ax.tricontour(x, y, z, 15, zdir=x, offset=-2)
>> > plt.show()
>> > creates a huge traceback, listed below.
>> > Is it possible to combine tricontour with Axes3D? It would appear that
>> > they
>> > are just incompatible, but perhaps there is a way to force it to work?
>> > Thanks for your help.
>> > tricont3d.py in <module>()
>> > 20 ax.tricontour(x, y, z, 15, zdir=x, offset=-2)
>> > 21
>> > ---> 22 plt.show()
>> > 23
>> > 24
>> > python2.6/site-packages/matplotlib/backends/backend_qt4.pyc in show()
>> > 69 figManager = Gcf.get_active()
>> > 70 if figManager != None:
>> > ---> 71 figManager.canvas.draw()
>> > 72
>> > 73 if _create_qApp.qAppCreatedHere:
>> > python2.6/site-packages/matplotlib/backends/backend_qt4agg.pyc in
>> > draw(self)
>> > 128 if DEBUG: print "FigureCanvasQtAgg.draw", self
>> > 129 self.replot = True
>> > --> 130 FigureCanvasAgg.draw(self)
>> > 131 self.update()
>> > 132
>> > site-packages/matplotlib/backends/backend_agg.pyc in draw(self)
>> > 392
>> > 393 self.renderer = self.get_renderer()
>> > --> 394 self.figure.draw(self.renderer)
>> > 395
>> > 396 def get_renderer(self):
>> > python2.6/site-packages/matplotlib/artist.pyc in draw_wrapper(artist,
>> > renderer, *args, **kwargs)
>> > 53 def draw_wrapper(artist, renderer, *args, **kwargs):
>> > 54 before(artist, renderer)
>> > ---> 55 draw(artist, renderer, *args, **kwargs)
>> > 56 after(artist, renderer)
>> > 57
>> > python2.6/site-packages/matplotlib/figure.pyc in draw(self, renderer)
>> > 796 dsu.sort(key=itemgetter(0))
>> > 797 for zorder, func, args in dsu:
>> > --> 798 func(*args)
>> > 799
>> > 800 renderer.close_group('figure')
>> > python2.6/site-packages/mpl_toolkits/mplot3d/axes3d.pyc in draw(self,
>> > renderer)
>> > 152 # Calculate projection of collections and zorder them
>> > 153 zlist = [(col.do_3d_projection(renderer), col) \
>> > --> 154 for col in self.collections]
>> > 155 zlist.sort()
>> > 156 zlist.reverse()
>> > AttributeError: 'LineCollection' object has no attribute
>> > 'do_3d_projection'
>> > WARNING: Failure executing file: <tricont3d.py>
>> >
>> > ------------------------------------------------------------------------------
>> > This SF.net email is sponsored by Sprint
>> > What will you do first with EVO, the first 4G phone?
>> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> > _______________________________________________
>> > Matplotlib-users mailing list
>> > Mat...@li...
>> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>> >
>> >
>>
>>
>>
>> --
>> Reinier Heeres
>> Tel: +31 6 10852639
>
>
--
Reinier Heeres
Tel: +31 6 10852639
|
|
From: Thøger E. J. T. <th...@fy...> - 2010-07-20 15:13:14
|
One way is to specify the axes manually, e.g. setting: (with matyplotlib.pyplot importad as plt:) plt.axis([200, 500, -600, 600]) ...or whatever seems fitting for you, and do that on both of the y axes. That should align them nicely. On Sat, 2010-07-17 at 20:37 +0200, Daniele Padula wrote: > Hi everybody, > I have a problem with a plot. I attach a figure to be easily understandable. > > As you can see from the figure, I have in the same area a line and a bar > plot. The problem is that y=0 for right y axis is different with respect > to left y axis one. I want the two y=0 to be the same. > > How can i do that? > > Excuse me for my bad english, I'm italian :) > > Thanks in advance. > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Søren N. <sor...@gm...> - 2010-07-20 14:48:03
|
Hi,
I'm creating a stand alone program on my mac with OSX 10.4 and it seems to
work great on it. However, if I transfer my program to a snow leopard (10.6)
mac, I get the error:
File "/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/__boot__.py",
line 158, in <module>
_run('RAW.py')
File "/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/__boot__.py",
line 134, in _run
execfile(path, globals(), globals())
File "/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/RAW.py", line
23, in <module>
from pylab import setp
File "pylab.pyc", line 1, in <module>
File
"/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/pylab.py",
line 206, in <module>
from matplotlib import mpl # pulls in most modules
File
"/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/mpl.py",
line 2, in <module>
from matplotlib import axis
File
"/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/axis.py",
line 10, in <module>
import matplotlib.font_manager as font_manager
File
"/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/font_manager.py",
line 52, in <module>
from matplotlib import ft2font
ImportError
:
dlopen(/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/ft2font.so,
2): Symbol not found: _FT_Load_Glyph
Referenced from:
/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/ft2font.so
Expected in: dynamic lookup
A search on it came up with someone having the same problem (
http://www.mail-archive.com/mat...@li.../msg14252.html),
but the cause doesn't seem to be exactly the same since as my ft2font.so is
linked correctly against /usr/lib/libgcc_s.1.dylib ?
heres the otool info:
/opt/local/lib/libfreetype.6.dylib (compatibility version 11.0.0, current
version 11.0.0)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.4)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.3.3)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
(compatibility version 1.0.0, current version 18.0.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
(compatibility version 1.0.0, current version 22.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version
47.1.0)
I installed all packages and python 2.6 using Macports. Does anyone see the
problem here?
Soren
|
|
From: Reinier H. <re...@he...> - 2010-07-20 13:00:25
|
Hi Daniel,
If you're using the mpl 1.0 or the svn version, you can try to
overwrite this file of mplot3d and run the attached modified version
of the example you sent. Can you tell me if this is the expected
result? For the projection on the planes normal to 'x' and 'y' it
doesn't look very appealing to me! (so I'm not sure it's correct)
Cheers,
Reinier
On Mon, Jul 19, 2010 at 11:06 PM, Daniel Welling <dan...@gm...> wrote:
> Greetings, MPL Users.
> I have been experimenting with Axes3D with the hopes that I could create
> some 3d lines and then project some contours on different planes in the 3D
> axes object, much like the contour3d_demo3.py example (but with lines
> instead of the 3d wireframe.) The catch, however, is creating the contour
> objects using tricontour instead of a regular contour. Being that I
> typically use irregular grids for my research, the triangulate module has
> been a tremendous feature, but it doesn't seem to work with Axes3D objects.
> For example, this quick script:
> import matplotlib.pyplot as plt
> #import matplotlib.tri as tri
> import numpy as np
> from numpy.random import uniform, seed
> from mpl_toolkits.mplot3d import Axes3D
> seed(0)
> npts = 200
> ngridx = 100
> ngridy = 200
> x = uniform(-2,2,npts)
> y = uniform(-2,2,npts)
> z = x*np.exp(-x**2-y**2)
> # tricontour.
> fig = plt.figure()
> ax = Axes3D(fig)
> ax.tricontour(x, y, z, 15, zdir=x, offset=-2)
> plt.show()
> creates a huge traceback, listed below.
> Is it possible to combine tricontour with Axes3D? It would appear that they
> are just incompatible, but perhaps there is a way to force it to work?
> Thanks for your help.
> tricont3d.py in <module>()
> 20 ax.tricontour(x, y, z, 15, zdir=x, offset=-2)
> 21
> ---> 22 plt.show()
> 23
> 24
> python2.6/site-packages/matplotlib/backends/backend_qt4.pyc in show()
> 69 figManager = Gcf.get_active()
> 70 if figManager != None:
> ---> 71 figManager.canvas.draw()
> 72
> 73 if _create_qApp.qAppCreatedHere:
> python2.6/site-packages/matplotlib/backends/backend_qt4agg.pyc in draw(self)
> 128 if DEBUG: print "FigureCanvasQtAgg.draw", self
> 129 self.replot = True
> --> 130 FigureCanvasAgg.draw(self)
> 131 self.update()
> 132
> site-packages/matplotlib/backends/backend_agg.pyc in draw(self)
> 392
> 393 self.renderer = self.get_renderer()
> --> 394 self.figure.draw(self.renderer)
> 395
> 396 def get_renderer(self):
> python2.6/site-packages/matplotlib/artist.pyc in draw_wrapper(artist,
> renderer, *args, **kwargs)
> 53 def draw_wrapper(artist, renderer, *args, **kwargs):
> 54 before(artist, renderer)
> ---> 55 draw(artist, renderer, *args, **kwargs)
> 56 after(artist, renderer)
> 57
> python2.6/site-packages/matplotlib/figure.pyc in draw(self, renderer)
> 796 dsu.sort(key=itemgetter(0))
> 797 for zorder, func, args in dsu:
> --> 798 func(*args)
> 799
> 800 renderer.close_group('figure')
> python2.6/site-packages/mpl_toolkits/mplot3d/axes3d.pyc in draw(self,
> renderer)
> 152 # Calculate projection of collections and zorder them
> 153 zlist = [(col.do_3d_projection(renderer), col) \
> --> 154 for col in self.collections]
> 155 zlist.sort()
> 156 zlist.reverse()
> AttributeError: 'LineCollection' object has no attribute 'do_3d_projection'
> WARNING: Failure executing file: <tricont3d.py>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
Reinier Heeres
Tel: +31 6 10852639
|
|
From: K.-Michael A. <kmi...@gm...> - 2010-07-20 09:59:30
|
On 2010-07-16 18:48:48 +0200, Eric Firing said: >> >> Furthermore, >> deleting images from ax.images does not free memory : > > Maybe because ipython is keeping a reference to every AxesImage object > that you make... > > Eric Well, maybe, but why does it not happen for John? His penultimate post showed, that his iPython session does not have this problem? Is there a setting that might influence this apart from the hold state? Michael |