Fitting a line of specific slope in matplotlib
horizontal line: plt.axhline(.5)
To fit a scatter plot, you can use seaborn.regplot
I need to fit a horizontal line into my matplotlib plot in python, couldn't find any simple method. so, was wondering if there is any simple way to fit a line of specific slope in matplotlib.