FacetGrid.
map
(self, func, *args, **kwargs)¶Apply a plotting function to each facet’s subset of the data.
A plotting function that takes data and keyword arguments. It must plot to the currently active matplotlib Axes and take a color keyword argument. If faceting on the hue dimension, it must also take a label keyword argument.
Column names in self.data that identify variables with data to plot. The data for each variable is passed to func in the order the variables are specified in the call.
All keyword arguments are passed to the plotting function.
Returns self.