seaborn.JointGrid.plot_marginals

JointGrid.plot_marginals(func, **kwargs)

Draw univariate plots for x and y separately.

Parameters:
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.

Returns:
self : JointGrid instance

Returns self.