From c44282e49e6e4c8dea71ea29e8ddb68fbe3ff108 Mon Sep 17 00:00:00 2001 From: neodino Date: Sat, 16 Dec 2023 01:34:11 +1100 Subject: [PATCH] fix: #223 super init updated to aligh with Chart class init --- lightweight_charts/polygon.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lightweight_charts/polygon.py b/lightweight_charts/polygon.py index 7d5c69f..af134eb 100644 --- a/lightweight_charts/polygon.py +++ b/lightweight_charts/polygon.py @@ -403,9 +403,10 @@ class PolygonChart(Chart): timeframe_options: tuple = ('1min', '5min', '30min', 'D', 'W'), security_options: tuple = ('Stock', 'Option', 'Index', 'Forex', 'Crypto'), toolbox: bool = True, width: int = 800, height: int = 600, x: int = None, y: int = None, - on_top: bool = False, maximize: bool = False, debug: bool = False + on_top: bool = False, maximize: bool = False, debug: bool = False, + title: str = '', screen: int = None, ): - super().__init__(width, height, x, y, on_top, maximize, debug, toolbox) + super().__init__(width, height, x, y, title,screen,on_top, maximize, debug, toolbox) self.num_bars = num_bars self.end_date = end_date