Line of best fit
roy at panix.com
Mon Mar 31 14:21:48 CEST 2014
In article <0fb15100-15e8-46d6-a38f-b187c7012e62 at googlegroups.com>,
Jamie Mitchell <jamiemitchell1604 at 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
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?
More information about the Python-list