I want to fix the limits of my dataset fitting, using the curvefit function of Xarray. In the documentation it is said that the function accepts **kwargs to pass to scipy curve_fit, but passing a value for sigma I get this error.
TypeError: curvefit() got an unexpected keyword argument 'sigma'