Posterior PlotΒΆ

../_images/plot_posterior.png

Python source code: [download source: plot_posterior.py]

import arviz as az

az.style.use('arviz-darkgrid')

data = az.load_arviz_data('centered_eight')

coords = {'school': ['Choate']}
az.plot_posterior(data, var_names=['mu', 'theta'], coords=coords, rope=(-1, 1))