Re: [Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-10 Thread Brian Zambrano
I just upgraded to 0.99.1 and it's working perfectly now. I was previously hacking _png.so with install_name_tool, and that's not necessary anymore as well. Thank you to Emanuele and everyone else...much appreciated! BZ On Tue, Nov 10, 2009 at 1:38 PM, Emanuele Santos wrote: > On Tue, Nov 10,

[Matplotlib-users] Noob confusion: Pcolor

2009-11-10 Thread shriv
Hi all, I am a very new user to both python and matplotlib so please beware that my questions might be a real no-brainer. Here goes: I have a 3D array of data that I isolated from a much larger dataset. The first two columns are the x and y positions while the third is the intensity at the posit

Re: [Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-10 Thread Emanuele Santos
I On Tue, Nov 10, 2009 at 11:57 AM, John Hunter wrote: On Tue, Nov 10, 2009 at 1:26 PM, Emanuele Santos 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 link

Re: [Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-10 Thread Brian Zambrano
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 /u

Re: [Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-10 Thread John Hunter
On Tue, Nov 10, 2009 at 1:26 PM, Emanuele Santos 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

Re: [Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-10 Thread Emanuele Santos
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 >> binar

[Matplotlib-users] cannot set mplot3d axes aspect to "equal"

2009-11-10 Thread Sébastien Barthélemy
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_

[Matplotlib-users] Basemap: Removing white space in savefig

2009-11-10 Thread George Bonev
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, Georg

Re: [Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-10 Thread Christopher Barker
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 re

Re: [Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-10 Thread Emanuele Santos
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 -cha

Re: [Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-10 Thread Brian Zambrano
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 Resou

[Matplotlib-users] Changes in mouse event

2009-11-10 Thread Fabrice Silva
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", "credit

Re: [Matplotlib-users] Building basemap on OS X 10.6

2009-11-10 Thread Tim Burgess
On 10/11/2009, at 3:37 AM, Christopher Barker wrote: > Tim Burgess wrote: >> Sodecided to go down the MacPorts path. Many automated >> downloads later, I now have a successful Basemap install (yay!) >> Many thanks to the folks who have contributed to MacPorts and >> interestingly geos 3.1

Re: [Matplotlib-users] plotting single point

2009-11-10 Thread Matthias Michler
Hi Pål, you can turn off matplotlibs autoscaling by e.g. import matplotlib.pyplot as plt ax = plt.subplot(111, autoscale_on=False, xlim=(..., ...), ylim=(..., ...)) or ax.set_autoscale_on(False) Kind regards Matthias On Tuesday 10 November 2009 01:50:47 Paul Northug wrote: > Greetings, >