In article <0fb15100-15e8-46d6-a38f-b187c7012...@googlegroups.com>, Jamie Mitchell <jamiemitchell1...@gmail.com> wrote:
> I am new to python so apologies for the ignorance with this question. > > How would I apply a line of best fit to a plot? Python has nothing built-in which does that, but there are plenty of add-on modules which do those sorts of things. One popular one is statsmodels (http://statsmodels.sourceforge.net/) > plt.plot(hs1,hs2,'.') Please tell us more about the environment you're working in. I'm guessing from the fact that you're calling plt.plot(), that you've already got some add-on modules loaded. Pandas, maybe? -- https://mail.python.org/mailman/listinfo/python-list