summaryrefslogtreecommitdiff
path: root/scripts/benchmark/plot.py
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-04-14 20:32:28 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-04-14 20:32:28 +0200
commit56b2f46fbfe37cd0c7abbe07b3e4dad460076f06 (patch)
tree10cfa1307d72cd96b7cdfc9e2d2218adb9f4396c /scripts/benchmark/plot.py
parent8833ae51be466686c7b5950ac8b5e598ce7012d0 (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.py4
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()