diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-14 20:32:28 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-14 20:32:28 +0200 |
commit | 56b2f46fbfe37cd0c7abbe07b3e4dad460076f06 (patch) | |
tree | 10cfa1307d72cd96b7cdfc9e2d2218adb9f4396c /scripts/benchmark/plot.py | |
parent | 8833ae51be466686c7b5950ac8b5e598ce7012d0 (diff) |
Added output-folder for benchmarking and removed the requirement on X
Diffstat (limited to 'scripts/benchmark/plot.py')
-rw-r--r-- | scripts/benchmark/plot.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/benchmark/plot.py b/scripts/benchmark/plot.py index 275a3ba8..0cb6d8c5 100644 --- a/scripts/benchmark/plot.py +++ b/scripts/benchmark/plot.py @@ -6,6 +6,8 @@ import utils +import matplotlib +matplotlib.use('Agg') from matplotlib import rcParams import matplotlib.pyplot as plt @@ -112,5 +114,5 @@ def plot_graphs(results, file_name, num_rows, num_cols, leg.draw_frame(False) # Saves the plot to disk + print("[benchmark] Saving plot to '" + file_name + "'") fig.savefig(file_name, bbox_inches=bounding_box) - # plt.show() |