Skip to content

Commit a91ea49

Browse files
committed
Update docs, setup.py, conf.py
1 parent fff23bd commit a91ea49

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
project = 'lightweight-charts-python'
44
copyright = '2023, louisnw'
55
author = 'louisnw'
6-
release = '1.0.18'
6+
release = '1.0.20'
77

88
extensions = [
99
"myst_parser",

docs/source/reference/abstract_chart.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,13 @@ ___
152152
153153
154154
155+
```{py:method} marker_list(markers: list) -> List[str]
156+
157+
Creates multiple markers and returns a list of marker ids.
158+
159+
```
160+
161+
155162
```{py:method} remove_marker(marker_id: str)
156163
157164
Removes the marker with the given id.
@@ -342,7 +349,7 @@ ___
342349
343350
344351
345-
````{py:method} create_subchart(position: FLOAT, width: float, height: float, sync: bool | str, scale_candles_only: bool, toolbox: bool) -> AbstractChart
352+
````{py:method} create_subchart(position: FLOAT, width: float, height: float, sync: bool | str, sync_crosshairs_only: bool, scale_candles_only: bool, toolbox: bool) -> AbstractChart
346353
347354
Creates and returns a Chart object, placing it adjacent to the previous Chart. This allows for the use of multiple chart panels within the same window.
348355
@@ -355,6 +362,9 @@ Creates and returns a Chart object, placing it adjacent to the previous Chart. T
355362
`sync`
356363
: If given as `True`, the Subchart's timescale and crosshair will follow that of the declaring Chart. If a `str` is passed, the Chart will follow the panel with the given id. Chart ids can be accessed from the `chart.id` attribute.
357364
365+
`sync_crosshairs_only`
366+
: If given as `True`, only the crosshairs will be synced and movement will remain independant.
367+
358368
```{important}
359369
`width` and `height` should be given as a number between 0 and 1.
360370
```

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='lightweight_charts',
8-
version='1.0.19',
8+
version='1.0.20',
99
packages=find_packages(),
1010
python_requires='>=3.8',
1111
install_requires=[

0 commit comments

Comments
 (0)