Least squares fit to straight line Fit a straight line f(x) = a + bx to (x, y) data points. Returns coefficients a and b that minimize the squared error. Click here for linfit docstring