Bug Fixes:

- Screen now defaults to the active screen rather than the `0` screen.
- `null` values given in chart data are now removed and replaced with whitespace.
- Closing the chart window now cleanly exits.
- Fixed a bug causing the `offset` parameter to be greater than `0` when there is no offset.
This commit is contained in:
louisnw
2023-09-29 12:03:49 +01:00
parent d43e7c24e7
commit 2bd4c7c037
6 changed files with 19 additions and 10 deletions

View File

@ -3,7 +3,7 @@ import os.path
project = 'lightweight-charts-python'
copyright = '2023, louisnw'
author = 'louisnw'
release = '1.0.17.6'
release = '1.0.17.7'
extensions = [
"myst_parser",

View File

@ -324,11 +324,11 @@ ___
```{py:method} hotkey(modifier: 'ctrl' | 'alt' | 'shift' | 'meta', key: 'str' | 'int' | 'tuple', func: callable)
```{py:method} hotkey(modifier: 'ctrl' | 'alt' | 'shift' | 'meta' | None, key: 'str' | 'int' | 'tuple', func: callable)
Adds a global hotkey to the chart window, which will execute the method or function given.
When using a number in `key`, it should be given as an integer. If multiple key commands are needed for the same function, a tuple can be passed to `key`.
If multiple key commands are needed for the same function, a tuple can be passed to `key`.
```
___