Skip to content

Commit b163b1e

Browse files
committed
BUG : fix the rest of the errors from np 1.9
Addresses the remaining errors from #3186
1 parent 8d2f28b commit b163b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tri/triinterpolate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def _interpolate_multikeys(self, x, y, tri_index=None,
210210
ret_loc = np.empty(size_ret, dtype=np.float64)
211211
ret_loc[~mask_in] = np.nan
212212
ret_loc[mask_in] = self._interpolate_single_key(
213-
return_key, valid_tri_index, valid_x, valid_y) * scale
213+
return_key, valid_tri_index, valid_x, valid_y).ravel() * scale
214214
ret += [np.ma.masked_invalid(ret_loc.reshape(sh_ret), copy=False)]
215215

216216
return ret

0 commit comments

Comments
 (0)