Thu, 04 Aug 2011 16:17:07 +0200, Xavier Gnata wrote: [clip] > def func(x, a, b, c): > return a*np.exp(-b*x) + c > x = list(np.linspace(0,4,50)) > y = func(x, 2.5, 1.3, 0.5) Your program fails already here -- before curve_fit.