Skip to content

Commit f3efc06

Browse files
committed
docstring formatting
1 parent 34fb497 commit f3efc06

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

xarray/core/dataarray.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2238,16 +2238,16 @@ def interp(
22382238
- Methods {"linear", "nearest", "zero", "slinear", "quadratic", "cubic", "quintic", "polynomial"}
22392239
use :py:class:`scipy.interpolate.interp1d`, unless conditions permit the use of :py:class:`numpy.interp`
22402240
(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`.
22432243
22442244
3. **Special interpolants for interpolation along one dimension of N-dimensional data (N ≥ 1)**
22452245
- Depending on the `method`, the following interpolants from :py:class:`scipy.interpolate` are used:
22462246
- `"pchip"`: :py:class:`scipy.interpolate.PchipInterpolator`
22472247
- `"barycentric"`: :py:class:`scipy.interpolate.BarycentricInterpolator`
22482248
- `"krogh"`: :py:class:`scipy.interpolate.KroghInterpolator`
22492249
- `"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`).
22512251
22522252
4. **Interpolation along multiple dimensions of multi-dimensional data**
22532253
- Uses :py:func:`scipy.interpolate.interpn` for methods {"linear", "nearest", "slinear",
@@ -2404,15 +2404,15 @@ def interp_like(
24042404
- Methods {"linear", "nearest", "zero", "slinear", "quadratic", "cubic", "quintic", "polynomial"}
24052405
use :py:class:`scipy.interpolate.interp1d`, unless conditions permit the use of :py:class:`numpy.interp`
24062406
(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.
24082408
24092409
3. **Special interpolants for interpolation along one dimension of N-dimensional data (N ≥ 1)**
24102410
- Depending on the `method`, the following interpolants from :py:class:`scipy.interpolate` are used:
24112411
- `"pchip"`: :py:class:`scipy.interpolate.PchipInterpolator`
24122412
- `"barycentric"`: :py:class:`scipy.interpolate.BarycentricInterpolator`
24132413
- `"krogh"`: :py:class:`scipy.interpolate.KroghInterpolator`
24142414
- `"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).
24162416
24172417
4. **Interpolation along multiple dimensions of multi-dimensional data**
24182418
- Uses :py:func:`scipy.interpolate.interpn` for methods {"linear", "nearest", "slinear",

0 commit comments

Comments
 (0)