Added the render_drawings parameter to update

Added the `round` parameter to `vertical_span`
This commit is contained in:
louisnw
2024-01-21 14:42:54 +00:00
parent f31db04464
commit 5861da2123
6 changed files with 27 additions and 15 deletions

View File

@ -27,7 +27,7 @@ ___
```{py:method} update(series: pd.Series)
```{py:method} update(series: pd.Series, render_drawings: bool = False)
Updates the chart data from a bar.
Series labels should be akin to [`set`](#AbstractChart.set).
@ -105,7 +105,7 @@ ___
```{py:method} vertical_span(start_time: TIME | list | tuple, end_time: TIME = None, color: COLOR = 'rgba(252, 219, 3, 0.2)')
```{py:method} vertical_span(start_time: TIME | list | tuple, end_time: TIME = None, color: COLOR = 'rgba(252, 219, 3, 0.2)', round: bool = False)
Creates and returns a `VerticalSpan` object.