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

Draw univariate plots on each marginal axes.

funcplotting callable

If a seaborn function, it should accept x and y 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 the vertical parameter, and it must plot on the “current” axes. If hue was defined in the class constructor, it must accept hue as a parameter.


Keyword argument are passed to the plotting function.

JointGrid instance

Returns self for easy method chaining.