From 78b8687c4a2458b5c924460704cfb8fbab06f5b5 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Fri, 3 Jan 2025 14:23:48 -0600 Subject: [PATCH] wip --- .../plot/express/deephaven_figure/DeephavenFigure.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/plotly-express/src/deephaven/plot/express/deephaven_figure/DeephavenFigure.py b/plugins/plotly-express/src/deephaven/plot/express/deephaven_figure/DeephavenFigure.py index d70828519..1922f141a 100644 --- a/plugins/plotly-express/src/deephaven/plot/express/deephaven_figure/DeephavenFigure.py +++ b/plugins/plotly-express/src/deephaven/plot/express/deephaven_figure/DeephavenFigure.py @@ -560,7 +560,12 @@ def add_figure_to_graph( func: The function to call """ - self._liveness_scope.manage(table) + if isinstance(table, Table) and not table.is_refreshing: + # static tables should not be managed + # check because it doesn't throw an error on first manage attempt, but leads to errors later + pass + else: + self._liveness_scope.manage(table) node = DeephavenFigureNode(self._head_node, exec_ctx, args, table, func)