diff --git a/README.md b/README.md index 5a7f73a..281c918 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![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/). diff --git a/lightweight_charts/js.py b/lightweight_charts/js.py index 48950cb..4c84db7 100644 --- a/lightweight_charts/js.py +++ b/lightweight_charts/js.py @@ -297,7 +297,7 @@ class LWC: price: {price}, color: '{color}', lineWidth: {width}, - lineStyle: LightweightCharts.LineStyle.{style}, + lineStyle: LightweightCharts.LineStyle.{_line_type(style)}, axisLabelVisible: {'true' if axis_label_visible else 'false'}, title: '{text}', }}; diff --git a/setup.py b/setup.py index 300dd8c..6bf7b2b 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f: setup( name='lightweight_charts', - version='1.0.5', + version='1.0.6', packages=find_packages(), python_requires='>=3.9', install_requires=[