I am trying to create a line of best fit for a small scatter plot. Right now I am using
m,b = np.polyfit(xArray, yArray, 1) xValues = np.linspace(-8,2,50) plt.sc