seaborn.JointGrid.plot_marginals

JointGrid.plot_marginals(self, func, **kwargs)

Draw univariate plots for x and y separately.

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

kwargskey, value mappings

Keyword argument are passed to the plotting function.

Returns
selfJointGrid instance

Returns self.