Pareto Shape PlotΒΆ

../../_images/mpl_plot_khat.png

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

API documentation: plot_khat()

import matplotlib.pyplot as plt

import arviz as az

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

idata = az.load_arviz_data("radon")
loo = az.loo(idata, pointwise=True)

az.plot_khat(loo, show_bins=True)

plt.show()