Summary Line
The Method To Use
x: str
order: int
title: str
data: Union[str, pd.DataFrame, List[Dict]] y: Optional[Union[str, List[str]]] = None
description: str = ''
value: Union[str, float, int] = ''
rows_size: int = 2
cols_size: int = 2Examples
summary_data = [
{'date': '28 days', 'x': 5},
{'date': '21 days', 'x': 6},
{'date': '14 days', 'x': 4},
{'date': '7 days', 'x': 7},
{'date': 'today', 'x': 3},
]
s.plt.line_with_summary(
data=summary_data, order=4, x='date', y='x',
title='Total', description='Today', value=7.94
)
Last updated
Was this helpful?