diff --git a/dvc/render/match.py b/dvc/render/match.py index c3aed3db45..b3161cb213 100644 --- a/dvc/render/match.py +++ b/dvc/render/match.py @@ -4,7 +4,7 @@ import dpath import dpath.options -from funcy import last +from funcy import get_in, last from dvc.repo.plots import _normpath, infer_data_sources from dvc.utils.plots import get_plot_id @@ -93,8 +93,6 @@ def match_defs_renderers( # noqa: C901, PLR0912 if templates_dir is not None: props["template_dir"] = templates_dir - from funcy import get_in - for rev, inner_id, plot_definition in group: plot_sources = infer_data_sources(inner_id, plot_definition) definitions_data = plots_data.get_definition_data(plot_sources, rev)