escodrinyar.Plot.label#

Plot.label(*, title=None, legend=None, **variables)#

Control the labels and titles for axes, legends, and subplots.

Additional keywords correspond to variables defined in the plot. Values can be one of the following types:

  • string (used literally; pass “” to clear the default label)

  • function (called on the default label)

For coordinate variables, the value sets the axis label. For semantic variables, the value sets the legend title. For faceting variables, title= modifies the subplot-specific label, while col= and/or row= add a label for the faceting variable.

When using a single subplot, title= sets its title.

The legend= parameter sets the title for the “layer” legend (i.e., when using label in Plot.add()).

Notes

The docstring of this function is autogenerated from seaborn.objects.Plot.label().