Skip to content

Commit

Permalink
Changed order of generated colors for children of color_parents
Browse files Browse the repository at this point in the history
  • Loading branch information
fjwillemsen committed Jun 27, 2024
1 parent 7a817cf commit acbfce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autotuning_methodology/visualize_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit acbfce6

Please sign in to comment.