mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-16 06:11:57 +00:00
small comment on show() implementation
This commit is contained in:
@@ -20,6 +20,9 @@ class Chart(BaseModel):
|
|||||||
def show(self):
|
def show(self):
|
||||||
"""Shows the chart in PyWry, browser or notebook."""
|
"""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
|
# pylint: disable=import-outside-toplevel
|
||||||
if self.format == ChartFormat.plotly:
|
if self.format == ChartFormat.plotly:
|
||||||
from openbb_charting.core.openbb_figure import OpenBBFigure
|
from openbb_charting.core.openbb_figure import OpenBBFigure
|
||||||
|
|||||||
Reference in New Issue
Block a user