Skip to content

Commit c551728

Browse files
committed
use the correct role for curve_fit
1 parent 02db15f commit c551728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/user-guide/computation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ Fitting arbitrary functions
451451
===========================
452452

453453
Xarray objects also provide an interface for fitting more complex functions using
454-
:py:meth:`scipy.optimize.curve_fit`. :py:meth:`~xarray.DataArray.curvefit` accepts
454+
:py:func:`scipy.optimize.curve_fit`. :py:meth:`~xarray.DataArray.curvefit` accepts
455455
user-defined functions and can fit along multiple coordinates.
456456

457457
For example, we can fit a relationship between two ``DataArray`` objects, maintaining

0 commit comments

Comments
 (0)