mqr.plot.regression.

res_histogram#

mqr.plot.regression.res_histogram(resid, ax, show_density=True, hist_kws=None, density_kws=None)#

Plot histogram of residuals from result of calling fit() on statsmodels model.

Parameters:
residarray_like

Residuals from regression.

axmatplotlib.axes.Axes

Axes for the plot.

show_densitybool, optional

Draw a fitted normal distribution density over the histogram.

hist_kwsdict, optional

Keyword arguments passed to seaborn.histplot.

density_kwsdict, optional

Keyword arguments passed to matplotlib.pyplot.plot.