graphics.regressionplots.abline_plot()
statsmodels.graphics.regressionplots.abline_plot
-
statsmodels.graphics.regressionplots.abline_plot(intercept=None, slope=None, horiz=None, vert=None, model_results=None, ax=None, **kwargs)
[source] -
Plots a line given an intercept and slope.
-
intercept : float
- The intercept of the line
-
slope : float
- The slope of the line
-
horiz : float or array-like
- Data for horizontal lines on the y-axis
-
vert : array-like
- Data for verterical lines on the x-axis
-
-