Skip to content

Commit ded0a68

Browse files
authored
fix doc build error after #2312 (#2326)
1 parent 2fa9dde commit ded0a68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/interpolation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ array-like, which gives the interpolated result as an array.
4949
da.interp(time=[2.5, 3.5])
5050
5151
52-
To interpolate data with a :py:func:`numpy.datetime64` coordinate you have to
52+
To interpolate data with a :py:func:`numpy.datetime64` coordinate you have to
5353
wrap it explicitly in a :py:func:`numpy.datetime64` object.
5454

5555
.. ipython:: python
@@ -58,7 +58,7 @@ wrap it explicitly in a :py:func:`numpy.datetime64` object.
5858
[('time', pd.date_range('1/1/2000', '1/3/2000', periods=2))])
5959
da_dt64.interp(time=np.datetime64('2000-01-02'))
6060
61-
The interpolated data can be merged into the original :py:class:`~xarray.DataArray`
61+
The interpolated data can be merged into the original :py:class:`~xarray.DataArray`
6262
by specifing the time periods required.
6363

6464
.. ipython:: python

xarray/core/dataarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ def interp(self, coords=None, method='linear', assume_sorted=False,
943943
scipy.interpolate.interpn
944944
945945
Examples
946-
-------
946+
--------
947947
>>> da = xr.DataArray([1, 3], [('x', np.arange(2))])
948948
>>> da.interp(x=0.5)
949949
<xarray.DataArray ()>

0 commit comments

Comments
 (0)