We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25b9ec8 commit 3459e6fCopy full SHA for 3459e6f
xarray/core/dataarray.py
@@ -6258,9 +6258,11 @@ def curvefit(
6258
Fit the exponential decay function to the data along the ``time`` dimension:
6259
6260
>>> fit_result = da.curvefit("time", exp_decay)
6261
- >>> fit_result["curvefit_coefficients"].sel(param="time_constant")
+ >>> fit_result["curvefit_coefficients"].sel(
6262
+ ... param="time_constant"
6263
+ ... ) # doctest: +NUMBER
6264
<xarray.DataArray 'curvefit_coefficients' (x: 3)>
- array([1.05692036, 1.73549639, 2.94215771])
6265
+ array([1.0569203, 1.7354963, 2.9421577])
6266
Coordinates:
6267
* x (x) int64 0 1 2
6268
param <U13 'time_constant'
0 commit comments