From 9bc0f70f9bc9569705947e3b7225e109cd01c631 Mon Sep 17 00:00:00 2001 From: Oleh Misarosh Date: Wed, 3 May 2023 17:35:37 +0300 Subject: [PATCH] Fix chart not showing in notebook in Visual Studio Code (#13) --- pytvlwcharts/tvlwcharts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytvlwcharts/tvlwcharts.py b/pytvlwcharts/tvlwcharts.py index 46b5a9c..bb18d46 100644 --- a/pytvlwcharts/tvlwcharts.py +++ b/pytvlwcharts/tvlwcharts.py @@ -214,7 +214,6 @@ chart.timeScale().fitContent(); })(); {% endfor %} - })(); const data_url = "{{ data_url }}"; function updateData() { try { @@ -251,6 +250,7 @@ updateData(); } setDataUpdateInterval(); + })(); """)