From a97d92ae63c59d68cce6ab538e64041ed8644080 Mon Sep 17 00:00:00 2001 From: Floris-Jan Willemsen Date: Tue, 25 Jun 2024 12:20:06 +0200 Subject: [PATCH] Added honouring of 'hide' key for strategies in other plot types --- src/autotuning_methodology/visualize_experiments.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/autotuning_methodology/visualize_experiments.py b/src/autotuning_methodology/visualize_experiments.py index ed9bea9..ff2fd53 100755 --- a/src/autotuning_methodology/visualize_experiments.py +++ b/src/autotuning_methodology/visualize_experiments.py @@ -696,6 +696,8 @@ def normalize_multiple(curves: list) -> tuple: ylim_min = 0 for strategy_index, strategy in enumerate(self.strategies): if "hide" in strategy.keys() and strategy["hide"]: + if strategy["name"] not in self.plot_skip_strategies: + self.plot_skip_strategies.append(strategy["name"]) continue # get the data