@@ -2232,26 +2232,26 @@ def interp(
22322232 determine which interpolant is used:
22332233
22342234 1. **Interpolation along one dimension of 1D data (`method='linear'`)**
2235- - Uses :py:class:`numpy.interp`, unless `fill_value='extrapolate'` is provided via `kwargs`.
2235+ - Uses :py:class:`numpy.interp`, unless `fill_value='extrapolate'` is provided via `kwargs`.
22362236
22372237 2. **Interpolation along one dimension of N-dimensional data (N ≥ 1)**
2238- - Methods {"linear", "nearest", "zero", "slinear", "quadratic", "cubic", "quintic", "polynomial"}
2239- use :py:class:`scipy.interpolate.interp1d`, unless conditions permit the use of :py:class:`numpy.interp`
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`.
2238+ - Methods {"linear", "nearest", "zero", "slinear", "quadratic", "cubic", "quintic", "polynomial"}
2239+ use :py:class:`scipy.interpolate.interp1d`, unless conditions permit the use of :py:class:`numpy.interp`
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`.
22432243
22442244 3. **Special interpolants for interpolation along one dimension of N-dimensional data (N ≥ 1)**
2245- - Depending on the `method`, the following interpolants from :py:class:`scipy.interpolate` are used:
2246- - `"pchip"`: :py:class:`scipy.interpolate.PchipInterpolator`
2247- - `"barycentric"`: :py:class:`scipy.interpolate.BarycentricInterpolator`
2248- - `"krogh"`: :py:class:`scipy.interpolate.KroghInterpolator`
2249- - `"akima"` or `"makima"`: :py:class:`scipy.interpolate.Akima1dInterpolator`
2250- (`makima` is handled by passing `makima` to `method`).
2245+ - Depending on the `method`, the following interpolants from :py:class:`scipy.interpolate` are used:
2246+ - `"pchip"`: :py:class:`scipy.interpolate.PchipInterpolator`
2247+ - `"barycentric"`: :py:class:`scipy.interpolate.BarycentricInterpolator`
2248+ - `"krogh"`: :py:class:`scipy.interpolate.KroghInterpolator`
2249+ - `"akima"` or `"makima"`: :py:class:`scipy.interpolate.Akima1dInterpolator`
2250+ (`makima` is handled by passing `makima` to `method`).
22512251
22522252 4. **Interpolation along multiple dimensions of multi-dimensional data**
2253- - Uses :py:func:`scipy.interpolate.interpn` for methods {"linear", "nearest", "slinear",
2254- "cubic", "quintic", "pchip"}.
2253+ - Uses :py:func:`scipy.interpolate.interpn` for methods {"linear", "nearest", "slinear",
2254+ "cubic", "quintic", "pchip"}.
22552255
22562256 Out-of-range values are filled with NaN, unless specified otherwise via `kwargs` to the numpy/scipy interpolant.
22572257
0 commit comments