Skip to content
masterclass Buddy

Seaborn · Class

PairGrid

PairGrid builds a grid of plots for pairwise relationships between dataset variables. It lets you choose different plotting functions for the diagonal, upper triangle, and lower triangle.

Last updated

Syntax

seaborn.PairGrid(data, *, hue=None, vars=None, x_vars=None, y_vars=None, hue_order=None, palette=None, hue_kws=None, corner=False, diag_sharey=True, height=2.5, aspect=1, layout_pad=0.5, despine=True, dropna=False)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • pairplot
  • FacetGrid
  • map
  • map_diag
  • map_lower
  • map_offdiag
  • map_upper
  • add_legend

Source: seaborn.PairGrid — seaborn 0.12.2 documentation. Checked 2026-11-03.