Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Jun 7, 2023
1 parent 1d4ad20 commit 24de3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/core/dataarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -6262,7 +6262,7 @@ def curvefit(
<xarray.DataArray 'curvefit_coefficients' (x: 3)>
array([1.05692036, 1.73549638, 2.9421577 ])
Coordinates:
* x (x) int64 0 1 2
* x (x) int64 0 1 2
param <U13 'time_constant'
>>> fit_result["curvefit_coefficients"].sel(param="amplitude")
<xarray.DataArray 'curvefit_coefficients' (x: 3)>
Expand Down

0 comments on commit 24de3a7

Please sign in to comment.