Rank Bars Diagnostic with KDE#

See also

API Documentation: plot_trace()

../_images/mpl_plot_trace_bars.png
import matplotlib.pyplot as plt

import arviz as az

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

data = az.load_arviz_data("non_centered_eight")
az.plot_trace(data, var_names=("tau", "mu"), kind="rank_bars")

plt.show()
import arviz as az

data = az.load_arviz_data("non_centered_eight")
ax = az.plot_trace(data, var_names=("tau", "mu"), kind="rank_bars", backend="bokeh")