Pair PlotΒΆ

../../_images/mpl_plot_pair.png

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

API documentation: plot_pair

import matplotlib.pyplot as plt
import arviz as az

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

centered = az.load_arviz_data("centered_eight")

coords = {"school": ["Choate", "Deerfield"]}
az.plot_pair(
    centered, var_names=["theta", "mu", "tau"], coords=coords, divergences=True, textsize=22
)
plt.show()