|
From: <ry...@us...> - 2010-09-11 19:02:45
|
Revision: 8696
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8696&view=rev
Author: ryanmay
Date: 2010-09-11 19:02:38 +0000 (Sat, 11 Sep 2010)
Log Message:
-----------
Fix typo in griddata().
Modified Paths:
--------------
branches/v1_0_maint/lib/matplotlib/mlab.py
Modified: branches/v1_0_maint/lib/matplotlib/mlab.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/mlab.py 2010-09-10 16:46:04 UTC (rev 8695)
+++ branches/v1_0_maint/lib/matplotlib/mlab.py 2010-09-11 19:02:38 UTC (rev 8696)
@@ -2719,7 +2719,7 @@
# remove masked points.
if hasattr(z,'mask'):
# make sure mask is not a scalar boolean array.
- if a.mask.ndim:
+ if z.mask.ndim:
x = x.compress(z.mask == False)
y = y.compress(z.mask == False)
z = z.compressed()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|