RecipePythonBeginner Fit a curve to data with error bars and draw a confidence band popt, pcov = curve_fit(model, t, y, p0=p0, sigma=sigma, absolute_sigma=True)