seaborn.JointGrid.plot_marginals#
- JointGrid.plot_marginals(func, **kwargs)#
Draw univariate plots on each marginal axes.
- Parameters:
- funcplotting callable
If a seaborn function, it should accept
x
andy
and plot when only one of them is defined. Otherwise, it must accept a vector of data as the first positional argument and determine its orientation using thevertical
parameter, and it must plot on the “current” axes. Ifhue
was defined in the class constructor, it must accepthue
as a parameter.- kwargs
Keyword argument are passed to the plotting function.
- Returns:
JointGrid
instanceReturns
self
for easy method chaining.