If you canβt update matplotlib for some reason, this is a workaround that generates almost needed graphics in matplotlib 1.3.1:
g = sns.PairGrid(iris) def scatter_fake_diag(x, y, *a, **kw): if x.equals(y): kw["color"] = (0, 0, 0, 0) plt.scatter(x, y, *a, **kw) g.map(scatter_fake_diag) g.map_diag(plt.hist)

source share