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
(1) |
2
(12) |
3
(12) |
4
(19) |
5
(7) |
6
(6) |
7
(2) |
|
8
(2) |
9
(11) |
10
(15) |
11
(27) |
12
(27) |
13
(18) |
14
(3) |
|
15
(3) |
16
(25) |
17
(9) |
18
(3) |
19
(4) |
20
(2) |
21
(4) |
|
22
(9) |
23
(28) |
24
(18) |
25
(16) |
26
(9) |
27
(4) |
28
(13) |
|
29
(15) |
30
(33) |
|
|
|
|
|
|
From: Emanuele S. <ema...@gm...> - 2009-11-10 21:38:44
|
I > On Tue, Nov 10, 2009 at 11:57 AM, John Hunter <jd...@gm...> > wrote: > On Tue, Nov 10, 2009 at 1:26 PM, Emanuele Santos > <ema...@gm...> wrote: > > Hi, Chris > > > > I think it is the official one (0.98.5). > > I didn't try the latest version but I can check if this is still > true. > > Could you please -- there were some bugs in linking on the OSX > binaries that were fixed between 0.98.5 and 0.99.1 so I'd like to > confirm that this was fixes as well > I just checked and it seems to be fixed in 0.99.1. -- Emanuele. > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Brian Z. <br...@gm...> - 2009-11-10 20:32:50
|
FWIW, I'm using the official 0.98.5. Looking at the app bundle, all of the matplotlib .so files are linking against: @executable_path/../Frameworks/libgcc_s.1.dylib ...*except* matplotlib/backends/_macosx.so which is linking against: /usr/lib/libgcc_s.1.dylib So, I didn't see any looking in /usr/local/lib. BZ On Tue, Nov 10, 2009 at 11:57 AM, John Hunter <jd...@gm...> wrote: > On Tue, Nov 10, 2009 at 1:26 PM, Emanuele Santos > <ema...@gm...> wrote: > > Hi, Chris > > > > I think it is the official one (0.98.5). > > I didn't try the latest version but I can check if this is still true. > > Could you please -- there were some bugs in linking on the OSX > binaries that were fixed between 0.98.5 and 0.99.1 so I'd like to > confirm that this was fixes as well > > |
|
From: John H. <jd...@gm...> - 2009-11-10 19:57:59
|
On Tue, Nov 10, 2009 at 1:26 PM, Emanuele Santos <ema...@gm...> wrote: > Hi, Chris > > I think it is the official one (0.98.5). > I didn't try the latest version but I can check if this is still true. Could you please -- there were some bugs in linking on the OSX binaries that were fixed between 0.98.5 and 0.99.1 so I'd like to confirm that this was fixes as well |
|
From: Emanuele S. <ema...@gm...> - 2009-11-10 19:26:32
|
Hi, Chris I think it is the official one (0.98.5). I didn't try the latest version but I can check if this is still true. -- Emanuele. On Nov 10, 2009, at 11:14 AM, Christopher Barker wrote: > Emanuele Santos wrote: >> It should load /usr/lib/libgcc_s.1.dylib. The problem is that the >> binary >> package of matplotlib for mac is linked >> against /usr/local/lib/libgcc_s.1.dylib. > > ouch -- it shouldn't be. Did you build it yourself or is that the > "official" one? > > Also, it seems that Py2app really should include libs that are in > /usr/local with the bundle, so that may be a py2app bug/feature. > > Boy, this is a pain! > > oh well, > > -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... > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Emanuele. |
|
From: Sébastien B. <bar...@cr...> - 2009-11-10 19:26:23
|
Hello all,
I'm having trouble setting the aspect ratio of an Axes3D to equal. Is it
possible ?
Here is example illustrating the problem:
from matplotlib.pylab import *
from mpl_toolkits.mplot3d import Axes3D
from numpy import *
n = 100
r = 3
t = linspace(0,2*pi, n)
ax = Axes3D(figure())
ax.set_aspect('equal')
ax.plot(xs=cos(t), ys=sin(t), zs=0)
ax.plot(xs=[0]*n, ys=r*sin(t), zs=r*cos(t))
show()
As a workaround, I currently plot a big cube around my data.
I would be very glad if someone had a cleaner solution.
Thanks by advance
Regards, Sebastien
|
|
From: George B. <geo...@gm...> - 2009-11-10 18:13:56
|
Hello, I am plotting a fig in Basemap, but I don't need the extra while space on the sides of the figure when I use savfig(). I tried axes([0,0,1,1]) but that just gave me a blank white screen with some ticks on the sides. Is there another way to do it with Basemap? Please help! Thank you, George B. |
|
From: Christopher B. <Chr...@no...> - 2009-11-10 18:12:49
|
Emanuele Santos wrote: > It should load /usr/lib/libgcc_s.1.dylib. The problem is that the binary > package of matplotlib for mac is linked > against /usr/local/lib/libgcc_s.1.dylib. ouch -- it shouldn't be. Did you build it yourself or is that the "official" one? Also, it seems that Py2app really should include libs that are in /usr/local with the bundle, so that may be a py2app bug/feature. Boy, this is a pain! oh well, -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: Emanuele S. <ema...@gm...> - 2009-11-10 17:39:45
|
It should load /usr/lib/libgcc_s.1.dylib. The problem is that the binary package of matplotlib for mac is linked against /usr/local/lib/ libgcc_s.1.dylib. I tried using install_name_tool and change this on the bundle and it does the trick. $ cd Resources/lib/python2.5 install_name_tool -change @executable_path/../Frameworks/libgcc_s. 1.dylib /usr/lib/libgcc_s.1.dylib ft2font.so -- Emanuele. On Nov 10, 2009, at 9:43 AM, Brian Zambrano wrote: > Following those steps, my app started just fine on Snow Leopard. > Thank you Emanuele! > > I would, however, like to understand this problem a bit more so I > can fix the build. I'd like this app to run out of the box. > > Looking at ft2font.so: > > otool -L Resources/lib/python2.5/matplotlib/ft2font.so > Resources/lib/python2.5/matplotlib/ft2font.so: > @executable_path/../Frameworks/libfreetype.6.dylib > (compatibility version 10.0.0, current version 10.12.0) > /usr/lib/libz.1.dylib (compatibility version 1.0.0, current > version 1.2.3) > /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 111.1.3) > @executable_path/../Frameworks/libgcc_s.1.dylib > (compatibility version 1.0.0, current version 1.0.0) > > For matplotlib to load successfully, which libgcc should be loaded? > > Thanks again, > BZ > > > > On Mon, Nov 9, 2009 at 11:45 PM, Emanuele Santos <ema...@gm... > > wrote: > We saw the same problem with VisTrails (www.vistrails.org). > > It seems that python.org's python can't build the fonts in > ~/.matplotlib on snow leopard. > We noticed that importing matplotlib.axis using Apple's python will > do that. > > So this is the work-around we found for vistrails (bundled with python.org > 2.5) > > In a terminal on snow leopard: > > $ rm -rf ~/.matplotlib > $ cd /Applications/Vistrails.app/Contents/Resources/lib/python2.5 > $ DYLD_LIBRARY_PATH=/usr/lib /System/Library/Frameworks/ > Python.framework/Versions/2.5/bin/python > > >>> import matplotlib.axis > > Now running the app again works. > > The DYLD_LIBRARY_PATH is necessary because of problems we saw with > different versions of libgcc_s.1.dylib present in the system and the > wrong one was being loaded. > > I don't think it's a py2app bug because I can reproduce it by just > running python.org's python and importing matplotlib.axis. > > I guess it is a bug in matplotlib. > > -- Emanuele. > > > On Nov 9, 2009, at 11:46 PM, Brian Zambrano wrote: > >> I'm getting my Py2app build running and think I've worked around >> some issues, but another major one has come up. My application is >> being built on OS X 10.5.8, where matplotlib is, oviously, >> installed. On another 10.5.X machine without any of the app's >> dependencies, my compiled app runs just fine. Today, I tried >> getting it running on a new Mac with Snow Leopard, 10.6, and get >> the following bus error. >> >> From the crash report, it looks like these are relevant: >> >> Exception Type: EXC_BAD_ACCESS (SIGBUS) >> Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 >> Crashed Thread: 0 Dispatch queue: com.apple.main-thread >> >> Thread 0 Crashed: Dispatch queue: com.apple.main-thread >> 0 ??? 0000000000 0 + 0 >> 1 libSystem.B.dylib 0x91176aa8 >> _Unwind_GetLanguageSpecificData + 24 >> 2 libstdc++.6.dylib 0x90057d86 >> __gxx_personality_v0 + 120 >> 3 libgcc_s.1.dylib 0x03801476 >> _Unwind_Backtrace + 278 >> 4 libgcc_s.1.dylib 0x03801890 _Unwind_Resume + >> 112 >> 5 ft2font.so 0x038cd3b1 FT2Font::FT2Font >> (std::string) + 3737 >> 6 ft2font.so 0x038cd4df >> ft2font_module::new_ft2font(Py::Tuple const&) + 291 >> 7 ft2font.so 0x038d787f >> Py::ExtensionModule<ft2font_module>::invoke_method_varargs >> (std::string const&, Py::Tuple const&) + 261 >> 8 ft2font.so 0x038df637 >> method_varargs_call_handler + 301 >> >> I'm not really sure where to go from here. I've read a few other >> things which hint at Snow Leopard being a bit of a headache: http://bit.ly/2Z2Cil >> >> Has anyone run this setup before? Suggestions? >> >> BZ >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports >> 2008 30-Day >> trial. Simplify your report design, integration and deployment - >> and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Emanuele. |
|
From: Brian Z. <br...@gm...> - 2009-11-10 16:44:06
|
Following those steps, my app started just fine on Snow Leopard. Thank you
Emanuele!
I would, however, like to understand this problem a bit more so I can fix
the build. I'd like this app to run out of the box.
Looking at ft2font.so:
otool -L Resources/lib/python2.5/matplotlib/ft2font.so
Resources/lib/python2.5/matplotlib/ft2font.so:
@executable_path/../Frameworks/libfreetype.6.dylib (compatibility
version 10.0.0, current version 10.12.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
1.2.3)
/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 111.1.3)
@executable_path/../Frameworks/libgcc_s.1.dylib (compatibility
version 1.0.0, current version 1.0.0)
For matplotlib to load successfully, which libgcc should be loaded?
Thanks again,
BZ
On Mon, Nov 9, 2009 at 11:45 PM, Emanuele Santos
<ema...@gm...>wrote:
> We saw the same problem with VisTrails (www.vistrails.org).
>
> It seems that python.org's python can't build the fonts in ~/.matplotlib
> on snow leopard.
> We noticed that importing matplotlib.axis using Apple's python will do
> that.
>
> So this is the work-around we found for vistrails (bundled with python.org2.5)
>
> In a terminal on snow leopard:
>
> $ rm -rf ~/.matplotlib
> $ cd /Applications/Vistrails.app/Contents/Resources/lib/python2.5
> $ DYLD_LIBRARY_PATH=/usr/lib
> /System/Library/Frameworks/Python.framework/Versions/2.5/bin/python
>
> >>> import matplotlib.axis
>
> Now running the app again works.
>
> The DYLD_LIBRARY_PATH is necessary because of problems we saw with
> different versions of libgcc_s.1.dylib present in the system and the wrong
> one was being loaded.
>
> I don't think it's a py2app bug because I can reproduce it by just running
> python.org's python and importing matplotlib.axis.
>
> I guess it is a bug in matplotlib.
>
> -- Emanuele.
>
>
> On Nov 9, 2009, at 11:46 PM, Brian Zambrano wrote:
>
> I'm getting my Py2app build running and think I've worked around some
> issues, but another major one has come up. My application is being built on
> OS X 10.5.8, where matplotlib is, oviously, installed. On another 10.5.X
> machine without any of the app's dependencies, my compiled app runs just
> fine. Today, I tried getting it running on a new Mac with Snow Leopard,
> 10.6, and get the following bus error.
>
> From the crash report, it looks like these are relevant:
>
> Exception Type: EXC_BAD_ACCESS (SIGBUS)
> Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
> Crashed Thread: 0 Dispatch queue: com.apple.main-thread
>
> Thread 0 Crashed: Dispatch queue: com.apple.main-thread
> 0 ??? 0000000000 0 + 0
> 1 libSystem.B.dylib 0x91176aa8
> _Unwind_GetLanguageSpecificData + 24
> 2 libstdc++.6.dylib 0x90057d86 __gxx_personality_v0 +
> 120
> 3 libgcc_s.1.dylib 0x03801476 _Unwind_Backtrace + 278
> 4 libgcc_s.1.dylib 0x03801890 _Unwind_Resume + 112
> 5 ft2font.so 0x038cd3b1
> FT2Font::FT2Font(std::string) + 3737
> 6 ft2font.so 0x038cd4df
> ft2font_module::new_ft2font(Py::Tuple const&) + 291
> 7 ft2font.so 0x038d787f
> Py::ExtensionModule<ft2font_module>::invoke_method_varargs(std::string
> const&, Py::Tuple const&) + 261
> 8 ft2font.so 0x038df637
> method_varargs_call_handler + 301
>
> I'm not really sure where to go from here. I've read a few other things
> which hint at Snow Leopard being a bit of a headache: http://bit.ly/2Z2Cil
>
> Has anyone run this setup before? Suggestions?
>
> BZ
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.
> http://p.sf.net/sfu/bobj-july_______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
|
|
From: Fabrice S. <si...@lm...> - 2009-11-10 15:05:33
|
Hi folks,
I am using matplotlib on debian unstable with Gtk (or gtkagg sometimes)
backend. Since the last update I have some troubles with the stop mouse
event in the ginput function:
$ python
Python 2.5.4 (r254:67916, Sep 26 2009, 08:19:36)
[GCC 4.3.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot as plt
>>> plt.plot([1,2.,34.])
/usr/lib/pymodules/python2.5/matplotlib/backends/backend_gtk.py:621: DeprecationWarning: Use the new widget gtk.Tooltip
self.tooltips = gtk.Tooltips()
[<matplotlib.lines.Line2D object at 0xa091f4c>]
>>> plt.ginput(n=0)
/usr/lib/pymodules/python2.5/matplotlib/backend_bases.py:1624: DeprecationWarning: Using default event loop until function specific to this GUI is implemented
warnings.warn(str,DeprecationWarning)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.5/matplotlib/backends/backend_gtk.py", line 208, in button_press_event
FigureCanvasBase.button_press_event(self, x, y, event.button, guiEvent=event)
File "/usr/lib/pymodules/python2.5/matplotlib/backend_bases.py", line 1196, in button_press_event
self.callbacks.process(s, mouseevent)
File "/usr/lib/pymodules/python2.5/matplotlib/cbook.py", line 163, in process
func(*args, **kwargs)
File "/usr/lib/pymodules/python2.5/matplotlib/blocking_input.py", line 46, in on_event
self.post_event()
File "/usr/lib/pymodules/python2.5/matplotlib/blocking_input.py", line 142, in post_event
self.mouse_event()
File "/usr/lib/pymodules/python2.5/matplotlib/blocking_input.py", line 153, in mouse_event
self.mouse_event_stop(event)
File "/usr/lib/pymodules/python2.5/matplotlib/blocking_input.py", line 196, in mouse_event_stop
self.fig.canvas.stop_event_loop(event)
TypeError: stop_event_loop() takes exactly 1 argument (2 given)
[(0.44261065266316579, 6.9299095607235142), (1.3628407101775444, 16.765180878552972)]
In fact, I mentioned the argument n=0 to have an arbitrary of input
points, but when I press enter or middle-click to end the acquisition,
the exception raises. After the 30s default timeout, the selected points
are output.
Is it a bug related to the changes in 7591 ?
--
Fabrice Silva
Laboratory of Mechanics and Acoustics - CNRS
31 chemin Joseph Aiguier, 13402 Marseille, France.
|
|
From: Emanuele S. <ema...@gm...> - 2009-11-10 07:46:06
|
We saw the same problem with VisTrails (www.vistrails.org). It seems that python.org's python can't build the fonts in ~/.matplotlib on snow leopard. We noticed that importing matplotlib.axis using Apple's python will do that. So this is the work-around we found for vistrails (bundled with python.org 2.5) In a terminal on snow leopard: $ rm -rf ~/.matplotlib $ cd /Applications/Vistrails.app/Contents/Resources/lib/python2.5 $ DYLD_LIBRARY_PATH=/usr/lib /System/Library/Frameworks/ Python.framework/Versions/2.5/bin/python >>> import matplotlib.axis Now running the app again works. The DYLD_LIBRARY_PATH is necessary because of problems we saw with different versions of libgcc_s.1.dylib present in the system and the wrong one was being loaded. I don't think it's a py2app bug because I can reproduce it by just running python.org's python and importing matplotlib.axis. I guess it is a bug in matplotlib. -- Emanuele. On Nov 9, 2009, at 11:46 PM, Brian Zambrano wrote: > I'm getting my Py2app build running and think I've worked around > some issues, but another major one has come up. My application is > being built on OS X 10.5.8, where matplotlib is, oviously, > installed. On another 10.5.X machine without any of the app's > dependencies, my compiled app runs just fine. Today, I tried > getting it running on a new Mac with Snow Leopard, 10.6, and get the > following bus error. > > From the crash report, it looks like these are relevant: > > Exception Type: EXC_BAD_ACCESS (SIGBUS) > Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 > Crashed Thread: 0 Dispatch queue: com.apple.main-thread > > Thread 0 Crashed: Dispatch queue: com.apple.main-thread > 0 ??? 0000000000 0 + 0 > 1 libSystem.B.dylib 0x91176aa8 > _Unwind_GetLanguageSpecificData + 24 > 2 libstdc++.6.dylib 0x90057d86 > __gxx_personality_v0 + 120 > 3 libgcc_s.1.dylib 0x03801476 _Unwind_Backtrace > + 278 > 4 libgcc_s.1.dylib 0x03801890 _Unwind_Resume + > 112 > 5 ft2font.so 0x038cd3b1 FT2Font::FT2Font > (std::string) + 3737 > 6 ft2font.so 0x038cd4df > ft2font_module::new_ft2font(Py::Tuple const&) + 291 > 7 ft2font.so 0x038d787f > Py::ExtensionModule<ft2font_module>::invoke_method_varargs > (std::string const&, Py::Tuple const&) + 261 > 8 ft2font.so 0x038df637 > method_varargs_call_handler + 301 > > I'm not really sure where to go from here. I've read a few other > things which hint at Snow Leopard being a bit of a headache: http://bit.ly/2Z2Cil > > Has anyone run this setup before? Suggestions? > > BZ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Brian Z. <br...@gm...> - 2009-11-10 06:47:05
|
I'm getting my Py2app build running and think I've worked around some issues, but another major one has come up. My application is being built on OS X 10.5.8, where matplotlib is, oviously, installed. On another 10.5.X machine without any of the app's dependencies, my compiled app runs just fine. Today, I tried getting it running on a new Mac with Snow Leopard, 10.6, and get the following bus error. >From the crash report, it looks like these are relevant: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 ??? 0000000000 0 + 0 1 libSystem.B.dylib 0x91176aa8 _Unwind_GetLanguageSpecificData + 24 2 libstdc++.6.dylib 0x90057d86 __gxx_personality_v0 + 120 3 libgcc_s.1.dylib 0x03801476 _Unwind_Backtrace + 278 4 libgcc_s.1.dylib 0x03801890 _Unwind_Resume + 112 5 ft2font.so 0x038cd3b1 FT2Font::FT2Font(std::string) + 3737 6 ft2font.so 0x038cd4df ft2font_module::new_ft2font(Py::Tuple const&) + 291 7 ft2font.so 0x038d787f Py::ExtensionModule<ft2font_module>::invoke_method_varargs(std::string const&, Py::Tuple const&) + 261 8 ft2font.so 0x038df637 method_varargs_call_handler + 301 I'm not really sure where to go from here. I've read a few other things which hint at Snow Leopard being a bit of a headache: http://bit.ly/2Z2Cil Has anyone run this setup before? Suggestions? BZ |
|
From: David S. <dps...@gm...> - 2009-11-10 04:07:12
|
On Mon, Nov 2, 2009 at 11:51 PM, Jae-Joon Lee <lee...@gm...> wrote: > On Mon, Nov 2, 2009 at 10:52 PM, David Sanders <dps...@gm...> > wrote: > > from pylab import * > > > > ion() > > > > N = 1000 > > pos = zeros((N,2)) > > > > figure(figsize=(8,8)) > > points, = plot(pos[:,0], pos[:,1], ',') > > axis([-20,20,-20,20]) > > > > for t in range(1000): > > > > pos += uniform(-1,1,N*2).reshape(N,2) > > points.set_data(pos[:,0].copy(), pos[:,1].copy()) > > draw() > > The Line2D object keeps the input data as a cache and only update it > (recache) if the new data is different than the cached one. > The problem in this particular case is that the cache is actually a > *pos* itself. And modifying the pos in place, actually modify the > cache in the Line2D object. Thus, set_data sees that the given data is > identical to the cached one, and skip the recaching. > I'm not sure what is the best approach here, and I defer the fix (or > not) to others. > Meanwhile, you can force the recaching with recache method. i.e., call > points.recache() after set_data. You don't need to make a copy also. > As a matter of fact, I think it will give you a best performance (but > not tested) if you directly update the cached data and do not call > set_data. > Note that in this particular case, pos == cache, so you actually don't > need to call get_data, but this is not a general case. > > posx, posy = points.get_data(orig=True) > > for t in range(100): > dx, dy = uniform(-1,1,N*2).reshape(2, N) # note the change in the shape > posx += dx > posy += dy > points.recache() > draw() > > Dear JJ, Many thanks for your answer -- "points.recache()" is exactly what I was looking for to make my animations work. It seems to me that this must be a reasonably common question, but I could not find it in the documentation. Perhaps it could be added to the animation cookbook? Thanks and best wishes, David. PS: Apologies for the late reply -- I was travelling with difficult internet access. |
|
From: Paul N. <pno...@gm...> - 2009-11-10 00:51:01
|
Greetings, I would much like to plot single point in existing figure. If the point is outside of current axes limit, I would like the axes not to resize. Is there an easy way? Currently, to add a point x,y, I scatter([x],[y]) then xlim and ylim to make sure the axes did not rescale. Pål |