@@ -2238,16 +2238,16 @@ def interp(
2238
2238
- Methods {"linear", "nearest", "zero", "slinear", "quadratic", "cubic", "quintic", "polynomial"}
2239
2239
use :py:class:`scipy.interpolate.interp1d`, unless conditions permit the use of :py:class:`numpy.interp`
2240
2240
(as in the case of `method='linear'` for 1D data).
2241
- - If `method='polynomial'`, the `order` keyword argument must also be provided. In this case,
2242
- :py:class:`scipy.interpolate.interp1d` is called with `kind=order`.
2241
+ - If `method='polynomial'`, the `order` keyword argument must also be provided. In this case,
2242
+ :py:class:`scipy.interpolate.interp1d` is called with `kind=order`.
2243
2243
2244
2244
3. **Special interpolants for interpolation along one dimension of N-dimensional data (N ≥ 1)**
2245
2245
- Depending on the `method`, the following interpolants from :py:class:`scipy.interpolate` are used:
2246
2246
- `"pchip"`: :py:class:`scipy.interpolate.PchipInterpolator`
2247
2247
- `"barycentric"`: :py:class:`scipy.interpolate.BarycentricInterpolator`
2248
2248
- `"krogh"`: :py:class:`scipy.interpolate.KroghInterpolator`
2249
2249
- `"akima"` or `"makima"`: :py:class:`scipy.interpolate.Akima1dInterpolator`
2250
- (`makima` is handled by passing `makima` to `method`).
2250
+ (`makima` is handled by passing `makima` to `method`).
2251
2251
2252
2252
4. **Interpolation along multiple dimensions of multi-dimensional data**
2253
2253
- Uses :py:func:`scipy.interpolate.interpn` for methods {"linear", "nearest", "slinear",
@@ -2404,15 +2404,15 @@ def interp_like(
2404
2404
- Methods {"linear", "nearest", "zero", "slinear", "quadratic", "cubic", "quintic", "polynomial"}
2405
2405
use :py:class:`scipy.interpolate.interp1d`, unless conditions permit the use of :py:class:`numpy.interp`
2406
2406
(as in the case of `method='linear'` for 1D data).
2407
- - If `method='polynomial'`, the `order` keyword argument must also be provided.
2407
+ - If `method='polynomial'`, the `order` keyword argument must also be provided.
2408
2408
2409
2409
3. **Special interpolants for interpolation along one dimension of N-dimensional data (N ≥ 1)**
2410
2410
- Depending on the `method`, the following interpolants from :py:class:`scipy.interpolate` are used:
2411
2411
- `"pchip"`: :py:class:`scipy.interpolate.PchipInterpolator`
2412
2412
- `"barycentric"`: :py:class:`scipy.interpolate.BarycentricInterpolator`
2413
2413
- `"krogh"`: :py:class:`scipy.interpolate.KroghInterpolator`
2414
2414
- `"akima"` or `"makima"`: :py:class:`scipy.interpolate.Akima1dInterpolator`
2415
- (`makima` is handled by passing the `makima` flag).
2415
+ (`makima` is handled by passing the `makima` flag).
2416
2416
2417
2417
4. **Interpolation along multiple dimensions of multi-dimensional data**
2418
2418
- Uses :py:func:`scipy.interpolate.interpn` for methods {"linear", "nearest", "slinear",
0 commit comments