diff options
-rw-r--r-- | scripts/benchmark/plot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/benchmark/plot.py b/scripts/benchmark/plot.py index 0cb6d8c5..b90a7bf5 100644 --- a/scripts/benchmark/plot.py +++ b/scripts/benchmark/plot.py @@ -85,7 +85,7 @@ def plot_graphs(results, file_name, num_rows, num_cols, x_ticks = [v if not (i % 2) else "" for i, v in enumerate(x_ticks)] # Sets the y-data - y_list = [[r[y_key] for r in result] for y_key in y_keys[index]] + y_list = [[r[y_key] if y_key in r.keys() else 0 for r in result] for y_key in y_keys[index]] y_max = max([max(y) for y in y_list]) # Sets the axes |