seaborn.JointGrid.plot_marginals

优质
小牛编辑
135浏览
2023-12-01
JointGrid.plot_marginals(func, **kwargs)

Draw univariate plots for <cite>x</cite> and <cite>y</cite> 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 <cite>self</cite>.