plotnine.facets.labelling.label_both¶

plotnine.facets.labelling.label_both(label_info, multi_line=True, sep=': ')[source]

Concatenate the index and the value of the series.

Parameters
label_infoseries

Series whose values will be returned. It must have an index made of variable names.

multi_linebool

Whether to place each variable on a separate line

sepstr

Separation between variable name and value

Returns
outseries

Label text strings