Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit edbc818

Browse files
author
pkienzle
committed
Fix get_xyz_where() typo so spy_demos works again
svn path=/trunk/matplotlib/; revision=3794
1 parent 2313d18 commit edbc818

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/mlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ def get_xyz_where(Z, Cond):
949949
where x and y are the indices into Z and z are the values of Z at
950950
those indices. x,y,z are 1D arrays
951951
"""
952-
X,Y = npy.indices(z.shape)
952+
X,Y = npy.indices(Z.shape)
953953
return X[Cond], Y[Cond], Z[Cond]
954954

955955
def get_sparse_matrix(M,N,frac=0.1):

0 commit comments

Comments
 (0)