mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 21:42:22 +00:00
fix on the show method
This commit is contained in:
@@ -263,7 +263,9 @@ class OBBject(Tagged, Generic[T]):
|
||||
"""Display chart."""
|
||||
if not self.chart or not hasattr(self.chart, "fig"):
|
||||
raise OpenBBError("Chart not found.")
|
||||
show_function: Callable = getattr(self.chart, "show")
|
||||
show_function: Callable = getattr(
|
||||
self.chart.fig, "show" # pylint: disable=no-member
|
||||
)
|
||||
show_function()
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user