# seaborn.PairGrid.map_diag ```py PairGrid.map_diag(func, **kwargs) ``` Plot with a univariate function on each diagonal subplot. 参数:`func`:callable 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`.