From: <pki...@us...> - 2007-09-05 21:50:07
|
Revision: 3794 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3794&view=rev Author: pkienzle Date: 2007-09-05 14:50:01 -0700 (Wed, 05 Sep 2007) Log Message: ----------- Fix get_xyz_where() typo so spy_demos works again Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/mlab.py Modified: trunk/matplotlib/lib/matplotlib/mlab.py =================================================================== --- trunk/matplotlib/lib/matplotlib/mlab.py 2007-09-05 21:40:41 UTC (rev 3793) +++ trunk/matplotlib/lib/matplotlib/mlab.py 2007-09-05 21:50:01 UTC (rev 3794) @@ -949,7 +949,7 @@ where x and y are the indices into Z and z are the values of Z at those indices. x,y,z are 1D arrays """ - X,Y = npy.indices(z.shape) + X,Y = npy.indices(Z.shape) return X[Cond], Y[Cond], Z[Cond] def get_sparse_matrix(M,N,frac=0.1): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |