plotnine.facets.labelling.as_labeller

plotnine.facets.labelling.as_labeller(x, default=<function label_value at 0x7f02f5cbeae8>, multi_line=True)[source]

Coerse to labeller function

Parameters
xfunction | dict

Object to coerce

defaultfunction | str

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

Returns
outfunction

Labelling function