From 379a5518fa7bd16e8c5d49d800a1a99713e4fca6 Mon Sep 17 00:00:00 2001 From: hjoaquim Date: Fri, 28 Jul 2023 10:00:39 +0100 Subject: [PATCH] small comment on show() implementation --- openbb_sdk/sdk/core/openbb_core/app/model/charts/chart.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openbb_sdk/sdk/core/openbb_core/app/model/charts/chart.py b/openbb_sdk/sdk/core/openbb_core/app/model/charts/chart.py index 4eb3f7dbdf6..e29559a9895 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/model/charts/chart.py +++ b/openbb_sdk/sdk/core/openbb_core/app/model/charts/chart.py @@ -20,6 +20,9 @@ class Chart(BaseModel): def show(self): """Shows the chart in PyWry, browser or notebook.""" + # TODO : this method should be handled by the ChartingManager so that + # this model class doesn't have specific knowledge on the charting extension + # pylint: disable=import-outside-toplevel if self.format == ChartFormat.plotly: from openbb_charting.core.openbb_figure import OpenBBFigure