- Fixed a bug causing the library to throw errors when used with python 3.9.

- Fixed a bug that did not size the multi pane charts correctly.
- Implementation of the ‘grid’ common method.
This commit is contained in:
louisnw
2023-05-20 01:45:40 +01:00
parent b60e9705cb
commit 76b5b7a161
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
[![Documentation](https://img.shields.io/badge/documentation-006ee3)](https://lightweight-charts-python.readthedocs.io/en/latest/docs.html) [![Documentation](https://img.shields.io/badge/documentation-006ee3)](https://lightweight-charts-python.readthedocs.io/en/latest/docs.html)
![cover](cover.png)
lightweight-charts-python aims to provide a simple and pythonic way to access and implement [TradingView's Lightweight Charts](https://www.tradingview.com/lightweight-charts/). lightweight-charts-python aims to provide a simple and pythonic way to access and implement [TradingView's Lightweight Charts](https://www.tradingview.com/lightweight-charts/).

View File

@ -297,7 +297,7 @@ class LWC:
price: {price}, price: {price},
color: '{color}', color: '{color}',
lineWidth: {width}, lineWidth: {width},
lineStyle: LightweightCharts.LineStyle.{style}, lineStyle: LightweightCharts.LineStyle.{_line_type(style)},
axisLabelVisible: {'true' if axis_label_visible else 'false'}, axisLabelVisible: {'true' if axis_label_visible else 'false'},
title: '{text}', title: '{text}',
}}; }};

View File

@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
setup( setup(
name='lightweight_charts', name='lightweight_charts',
version='1.0.5', version='1.0.6',
packages=find_packages(), packages=find_packages(),
python_requires='>=3.9', python_requires='>=3.9',
install_requires=[ install_requires=[