# seaborn.JointGrid.plot_marginals

```py
JointGrid.plot_marginals(func, **kwargs)
```

Draw univariate plots for &lt;cite&gt;x&lt;/cite&gt; and &lt;cite&gt;y&lt;/cite&gt; separately.

参数：`func`：plotting callable

> This must take a 1d array of data as the first positional argument, it must plot on the “current” axes, and it must accept a “vertical” keyword argument to orient the measure dimension of the plot vertically.

`kwargs`：key, value mappings

> Keyword argument are passed to the plotting function.


返回值：`self`：JointGrid instance

> Returns &lt;cite&gt;self&lt;/cite&gt;.

