On Friday 08 September 2006 10:29, Darren Dale wrote: > On Friday 08 September 2006 10:11, Jouni K Seppanen wrote: > > Hi, > > > > With numpy 1.0b5 and a recent matplotlib from svn (rev 2761), and > > numerix set to numpy, I'm getting errors like this: > > > > Python 2.4.3 (#1, Apr 7 2006, 10:54:33) > > [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin > > Type "help", "copyright", "credits" or "license" for more information. > > > > >>> from pylab import * > > >>> eye(3) > > > > Traceback (most recent call last): > > File "<stdin>", line 1, in ? > > File > > "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-pac > >ka ges/numpy/oldnumeric/mlab.py", line 24, in eye m = > > nn.equal(nn.subtract.outer(nn.arange(N), nn.arange(M)),-k) NameError: > > global name 'nn' is not defined > > > > Somehow numerix is getting the eye function from > > numpy.oldnumeric.mlab, and it's not working. Maybe this is a numpy > > bug, > > It is a numpy bug.
And it has been fixed as of svn 3139. ------------------------------------------------------------------------- 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