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

Skip to content

Commit c063537

Browse files
committed
Fixed parenthesis typo in corrcoef.
svn path=/trunk/matplotlib/; revision=606
1 parent cb50207 commit c063537

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
@@ -292,7 +292,7 @@ def corrcoef(*args):
292292

293293
if len(args)==2:
294294
X = transpose(array([args[0]]+[args[1]]))
295-
elif len(args==1):
295+
elif len(args)==1:
296296
X = args[0]
297297
else:
298298
raise RuntimeError, 'Only expecting 1 or 2 arguments'

0 commit comments

Comments
 (0)