Pareto Shape Plot#

See also

API Documentation: plot_khat()

../_images/mpl_plot_khat.png

import matplotlib.pyplot as plt

import arviz as az

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

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

az.plot_khat(loo, show_bins=True)

plt.show()

import arviz as az

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

ax = az.plot_khat(loo, show_bins=True, backend="bokeh")