Rank Bars Diagnostic with KDE#
See also
API Documentation: plot_trace()
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")