plotnine.facets.labelling.as_labeller¶
- plotnine.facets.labelling.as_labeller(x: Optional[CanBeStripLabellingFunc] = None, default: CanBeStripLabellingFunc = <function label_value>, multi_line: bool = True) labeller [source]¶
Coerse to labeller
- Parameters
- x
function
|python:dict
Object to coerce
- default
python:str
|function
Default labeller. If it is a string, it should be the name of one the labelling functions provided by plotnine.
- multi_linebool
Whether to place each variable on a separate line
- x
- Returns
- out
labeller
Labelling function
- out