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_info : series

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

multi_line : bool

Whether to place each variable on a separate line

sep : str

Separation between variable name and value

Returns:
out : series

Label text strings