Re: [matplotlib-devel] 87.5 binary for os-x
I've been busy, but I will try to make mpkgs for mpl and numpy tonight and post them to the pythonmac-sig list so they get added to the pythonmac listing. - Charlie On 9/11/06, Brendan Simons <[EMAIL PROTECTED]> wrote: > Sigh, this is driving me crazy > > I tried downloading the Scipy-Superpack for os x from scipy.org, > which supposedly contains compatible numpy and scipy binaries. But > when I try to import pylab, I get: > --- > "RuntimeError: module compiled against version 90709 of C-API but > this version of numpy is 100" > --- > So I went off to find a newer build of matplotlib, but Sourceforge > and pythonmac.org only have mpkg binaries for 87.4. I tried > installing setuptools to use the .egg version, but didn't get very > far before my head started hurting (who named this thing "easy"?). > Similarly trying to compile the source code gives me: > --- > C compiler: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/ > MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp > -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 > compile options: '-I/usr/local/include -I/usr/include -I. -I/Library/ > Frameworks/Python.framework/Versions/2.4/include/python2.4 -c' > gcc: src/_isnan.c > gcc: cannot specify -o with -c or -S and multiple compilations > --- > > Long story short, I'm giving up. Has anyone compiled an mpkg binary > of mpl 87.5 (compatible with numpy 1.0b5) for os x? > > Sincerely, > Brendan > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] 87.5 binary for os-x
Charlie Moad wrote: > I've been busy, but I will try to make mpkgs for mpl and numpy tonight > and post them to the pythonmac-sig list so they get added to the > pythonmac listing. In the meantime, why not just post the eggs there? That's probably the way of the future anyway. And for the OP: Charlie has put eggs for OS-X that work for a t least a few of us here: http://euclid.uits.iupui.edu/mplfiles/ -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] example: wx.ToolTip for MPL axes
Not sure if this already exists, but here's an example file of how to get a wx.ToolTip to pop up and report the current mouse position in data coordinates over a MPL axes. Not sure if it's the best way of doing this, but it seems to work really well for me. Perhaps it would be useful to add this to the MPL examples? Cheers, Martin """Example of how to use wx tooltips on a matplotlib figure window. A tooltip pops up and tracks the mouse when the mouse is above the axes, updating it's value with the current x and y data values under mouse position""" import matplotlib as mpl import pylab as pl from pylab import get_current_fig_manager as gcfm import wx mpl.use('WXAgg') mpl.interactive(False) class wxToolTipExample(object): def __init__(self): self.f = pl.figure() self.a = self.f.add_subplot(111) self.tooltip = wx.ToolTip(tip='') # create an empty tooltip self.tooltip.SetDelay(500) # set popup delay in ms gcfm().canvas.SetToolTip(self.tooltip) # connect tooltip to canvas self.f.canvas.mpl_connect('motion_notify_event', self.onmotion) def onmotion(self, event): """Called during mouse motion over figure""" if event.xdata != None and event.ydata != None: self.tooltip.SetTip(tip='x=%f, y=%f' % (event.xdata, event.ydata)) example = wxToolTipExample() pl.show() - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] 87.5 binary for os-x
Ok, I uploaded the mpkgs to, "http://euclid.uits.iupui.edu/mplfiles/";. Chris, can you please notify the pythonmac list? I am shuffling around my mailing lists and I am not subscribed at this instant. Thanks, On 9/12/06, Christopher Barker <[EMAIL PROTECTED]> wrote: > Charlie Moad wrote: > > I've been busy, but I will try to make mpkgs for mpl and numpy tonight > > and post them to the pythonmac-sig list so they get added to the > > pythonmac listing. > > In the meantime, why not just post the eggs there? That's probably the > way of the future anyway. > > And for the OP: Charlie has put eggs for OS-X that work for a t least a > few of us here: > > http://euclid.uits.iupui.edu/mplfiles/ > > -Chris > > -- > Christopher Barker, Ph.D. > Oceanographer > > NOAA/OR&R/HAZMAT (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > [EMAIL PROTECTED] > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] 87.5 binary for os-x
"Way of the future" or not, I tried to download easy_install to use the egg version and got nowhere fast. mpkgs are much easier for those of us who aren't command-line gurus (I didn't realize you could drop the contents of an egg right into site-packages though. I'll have to try that next time) Thanks for the files Charlie On 9/12/06, Christopher Barker <[EMAIL PROTECTED]> wrote: > Charlie Moad wrote: > > I've been busy, but I will try to make mpkgs for mpl and numpy > tonight > > and post them to the pythonmac-sig list so they get added to the > > pythonmac listing. > > In the meantime, why not just post the eggs there? That's probably the > way of the future anyway. > > And for the OP: Charlie has put eggs for OS-X that work for a t > least a > few of us here: > > http://euclid.uits.iupui.edu/mplfiles/ > > -Chris > > -- > Christopher Barker, Ph.D. > Oceanographer > > NOAA/OR&R/HAZMAT (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel