diff --git a/openbb_platform/core/openbb_core/app/model/obbject.py b/openbb_platform/core/openbb_core/app/model/obbject.py index 83dc144046c..db561cb84f2 100644 --- a/openbb_platform/core/openbb_core/app/model/obbject.py +++ b/openbb_platform/core/openbb_core/app/model/obbject.py @@ -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