From a89b8bfacebec93f4a376c70e48f5ed55741ff96 Mon Sep 17 00:00:00 2001 From: petar-qb Date: Mon, 18 Nov 2024 10:31:45 +0100 Subject: [PATCH] Minor comment change --- vizro-core/src/vizro/actions/_actions_utils.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/vizro-core/src/vizro/actions/_actions_utils.py b/vizro-core/src/vizro/actions/_actions_utils.py index c23b2554e..c5582e33c 100644 --- a/vizro-core/src/vizro/actions/_actions_utils.py +++ b/vizro-core/src/vizro/actions/_actions_utils.py @@ -270,10 +270,7 @@ def _get_modified_page_figures( else: figure_targets.append(target) - # Retrieving only figure_targets data_frames from _multi_load is not the best solution. - # In that way, we assume that Filter.targets are the subset of the action's targets. This works for the - # on_page_load, but will not work if targets are explicitly set. - # For example, in future, if Parameter is targeting only a single Filter. + # Get data_frames for all figure_targets and components that are targets of controls _get_unfiltered_data_targets = list(set(figure_targets + control_targets_targets)) figure_targets_unfiltered_data: dict[ModelID, pd.DataFrame] = _get_unfiltered_data(