@@ -114,14 +114,14 @@ def _interpolate_multikeys(self, x, y, tri_index=None,
114
114
The purpose of :meth:`_interpolate_multikeys` is to implement the
115
115
following common tasks needed in all subclasses implementations:
116
116
117
- - calculation of containing triangles
118
- - dealing with more than one interpolation request at the same
119
- location (e.g., if the 2 derivatives are requested, it is
120
- unnecessary to compute the containing triangles twice)
121
- - scaling according to self._unit_x, self._unit_y
122
- - dealing with points outside of the grid (with fill value np.nan)
123
- - dealing with multi-dimensional *x*, *y* arrays: flattening for
124
- :meth:`_interpolate_params` call and final reshaping.
117
+ - calculation of containing triangles
118
+ - dealing with more than one interpolation request at the same
119
+ location (e.g., if the 2 derivatives are requested, it is
120
+ unnecessary to compute the containing triangles twice)
121
+ - scaling according to self._unit_x, self._unit_y
122
+ - dealing with points outside of the grid (with fill value np.nan)
123
+ - dealing with multi-dimensional *x*, *y* arrays: flattening for
124
+ :meth:`_interpolate_params` call and final reshaping.
125
125
126
126
(Note that np.vectorize could do most of those things very well for
127
127
you, but it does it by function evaluations over successive tuples of
@@ -214,9 +214,9 @@ def _interpolate_single_key(self, return_key, tri_index, x, y):
214
214
Parameters
215
215
----------
216
216
return_key : {'z', 'dzdx', 'dzdy'}
217
- Identifies the requested values (z or its derivatives)
217
+ The requested values (z or its derivatives).
218
218
tri_index : 1D int array
219
- Valid triangle index (-1 prohibited)
219
+ Valid triangle index (cannot be -1).
220
220
x, y : 1D arrays, same shape as `tri_index`
221
221
Valid locations where interpolation is requested.
222
222
@@ -245,8 +245,8 @@ class LinearTriInterpolator(TriInterpolator):
245
245
z : array-like of shape (npoints,)
246
246
Array of values, defined at grid points, to interpolate between.
247
247
trifinder : `~matplotlib.tri.TriFinder`, optional
248
- If this is not specified, the Triangulation's default TriFinder will
249
- be used by calling `.Triangulation.get_trifinder`.
248
+ If this is not specified, the Triangulation's default TriFinder will
249
+ be used by calling `.Triangulation.get_trifinder`.
250
250
251
251
Methods
252
252
-------
0 commit comments