Skip to content

Commit

Permalink
Added honouring of 'hide' key for strategies in other plot types
Browse files Browse the repository at this point in the history
  • Loading branch information
fjwillemsen committed Jun 25, 2024
1 parent 3221df1 commit a97d92a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/autotuning_methodology/visualize_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a97d92a

Please sign in to comment.