seaborn.PairGrid.map_diag

PairGrid.map_diag(self, func, **kwargs)

Plot with a univariate function on each diagonal subplot.

Parameters
funccallable plotting function

Must take an x array as a positional argument and draw onto the “currently active” matplotlib Axes. Also needs to accept kwargs called color and label.