Autocorrelation Plot#

See also

API Documentation: plot_autocorr()

../_images/mpl_plot_autocorr.png

import matplotlib.pyplot as plt

import arviz as az

az.style.use("arviz-doc")

data = az.load_arviz_data("centered_eight")
az.plot_autocorr(data, var_names=("tau", "mu"))

plt.show()

import arviz as az

data = az.load_arviz_data("centered_eight")
ax = az.plot_autocorr(data, var_names="tau", backend="bokeh")