sns.distplot(model.resid, hist=True) plt.grid(True) plt.xlabel('Residual') plt.ylabel('Frequency') plt.title('Residual Histogram') plt.show()