Python source code: [download source: bokeh_plot_pair_point_estimate.py]
[download source: bokeh_plot_pair_point_estimate.py]
API documentation: plot_pair()
plot_pair()
import matplotlib.pyplot as plt import arviz as az centered = az.load_arviz_data("centered_eight") coords = {"school": ["Choate", "Deerfield"]} ax = az.plot_pair( centered, var_names=["mu", "theta"], kind=["scatter", "kde"], kde_kwargs={"fill_last": False}, marginals=True, coords=coords, point_estimate="median", figsize=(10, 8), backend="bokeh", ) plt.show()