Point Estimate Pairplot#
See also
API Documentation: plot_pair()
import matplotlib.pyplot as plt
import arviz as az
az.style.use("arviz-doc")
data = az.load_arviz_data("centered_eight")
coords = {"school": ["Choate", "Deerfield"]}
ax = az.plot_pair(
data,
var_names=["mu", "theta"],
kind=["scatter", "kde"],
kde_kwargs={"fill_last": False},
marginals=True,
coords=coords,
point_estimate="median",
figsize=(11.5, 5),
)
plt.show()
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",
)