Hexbin PairPlotΒΆ

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

API documentation: plot_pair()

import arviz as az

centered = az.load_arviz_data("centered_eight")

coords = {"school": ["Choate", "Deerfield"]}
ax = az.plot_pair(
    centered,
    var_names=["theta", "mu", "tau"],
    kind="hexbin",
    coords=coords,
    colorbar=True,
    divergences=True,
    backend="bokeh",
)