Joint PlotΒΆ

../../_images/mpl_plot_joint.png

Python source code: [download source: mpl_plot_joint.py]

API documentation: plot_pair

import matplotlib.pyplot as plt
import arviz as az

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


data = az.load_arviz_data("non_centered_eight")

az.plot_pair(
    data,
    var_names=["theta"],
    coords={"school": ["Choate", "Phillips Andover"]},
    kind="hexbin",
    diagonal=True,
    figsize=(10, 10),
)
plt.show()