import statsmodels.graphics.tsaplots as splt splt.plot_acf(white, lags = 40) splt.plot_pacf(white, lags = 40) plt.show()