From acbfce688a5b08d4f9ac38eac98c15c13a725679 Mon Sep 17 00:00:00 2001 From: Floris-Jan Willemsen Date: Thu, 27 Jun 2024 13:40:11 +0200 Subject: [PATCH] Changed order of generated colors for children of color_parents --- src/autotuning_methodology/visualize_experiments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autotuning_methodology/visualize_experiments.py b/src/autotuning_methodology/visualize_experiments.py index f1481cd..1b3de40 100755 --- a/src/autotuning_methodology/visualize_experiments.py +++ b/src/autotuning_methodology/visualize_experiments.py @@ -69,7 +69,7 @@ def get_next_single_color_list(main_color_counter: int, num_colors: int): main_color_counter += 1 parented_colors[name] = dict() for index, child_index in enumerate(children_index): - parented_colors[name][child_index] = color_scale[index] + parented_colors[name][child_index] = color_scale[(len(children_index) - 1) - index] color = color_scale[len(children_index)] else: if "color_parent" in strategy: