From e6d21abd7441c2baf60f61bbeb1551844062a9fb Mon Sep 17 00:00:00 2001 From: petar-qb Date: Fri, 24 Nov 2023 10:09:35 +0100 Subject: [PATCH] Small changes --- vizro-core/src/vizro/actions/_actions_utils.py | 1 - vizro-core/src/vizro/models/types.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/vizro-core/src/vizro/actions/_actions_utils.py b/vizro-core/src/vizro/actions/_actions_utils.py index 5e6f39daf..86d7762a2 100644 --- a/vizro-core/src/vizro/actions/_actions_utils.py +++ b/vizro-core/src/vizro/actions/_actions_utils.py @@ -84,7 +84,6 @@ def _apply_graph_filter_interaction( customdata = ctd_click_data["value"]["points"][0]["customdata"] - # TODO: BUG: fix if there is filter_interaction and other actions assigned to the same 'vm.Graph.actions' . for action in source_graph_actions: if action.function._function.__name__ != "filter_interaction" or target not in action.function["targets"]: continue diff --git a/vizro-core/src/vizro/models/types.py b/vizro-core/src/vizro/models/types.py index ebb63d56d..650bf4cb2 100644 --- a/vizro-core/src/vizro/models/types.py +++ b/vizro-core/src/vizro/models/types.py @@ -178,7 +178,7 @@ class capture: """Captures a function call to create a [`CapturedCallable`][vizro.models.types.CapturedCallable]. This is used to add the functionality required to make graphs and actions work in a dashboard. - Typically it should be used as a function decorator. There are three possible modes: `"graph"`, `"table"` and + Typically, it should be used as a function decorator. There are three possible modes: `"graph"`, `"table"` and `"action"`. Examples: