plotnine.facets.labelling.label_context¶
- plotnine.facets.labelling.label_context(label_info: strip_label_details, multi_line: bool = True, sep: str = ': ') strip_label_details [source]¶
Create an unabiguous label string
If facetting over a single variable, label_value is used, if two or more variables then label_both is used.
- Parameters
- label_info
strip_label_details
Label information
- multi_linebool
Whether to place each variable on a separate line
- sep
python:str
Separation between variable name and value
- label_info
- Returns
- out
python:str
Contatenated label values (or pairs of variable names & values)
- out