JointGrid.plot_marginals(func, **kwargs)

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