LOO-PIT Overlay PlotΒΆ

../../_images/mpl_plot_loo_pit_overlay.png

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

API documentation: plot_loo_pit()

import matplotlib.pyplot as plt

import arviz as az

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

idata = az.load_arviz_data("non_centered_eight")

az.plot_loo_pit(idata=idata, y="obs", color="indigo")

plt.show()