class plotnine.facets.labelling.labeller(rows: CanBeStripLabellingFunc | None = None, cols: CanBeStripLabellingFunc | None = None, multi_line: bool = True, default: CanBeStripLabellingFunc = 'label_value', **kwargs: Callable[[str], str])[source]

Facet Strip Labelling

When called with strip_label_details knows how to alter the strip labels along either dimension.

rowsstr | function | None

How to label the rows

colsstr | function | None

How to label the columns


Whether to place each variable on a separate line

defaultfunction | str

Fallback labelling function. If it is a string, it should be the name of one the labelling functions provided by plotnine.


{variable name : function | string} pairs for renaming variables. A function to rename the variable or a string name.