summaryrefslogtreecommitdiffstats
path: root/support/scripts
diff options
context:
space:
mode:
authorSascha Arthur <sascha.arthur@gmail.com>2014-09-21 18:46:26 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-09-21 22:44:42 +0200
commit28ed63bae24f109907daab3ffa24edb8fb66d1ce (patch)
tree019379f44fdd7fa1d9ce91dcb36b72f08970f833 /support/scripts
parentc6273204bcfa4a46f1de5c158accfdc40e15d148 (diff)
downloadbuildroot-28ed63bae24f109907daab3ffa24edb8fb66d1ce.tar.gz
buildroot-28ed63bae24f109907daab3ffa24edb8fb66d1ce.zip
scripts/graph-build-time: remove X dependency
[Thomas: tweak commit title.] Signed-off-by: Sascha Arthur <sascha.arthur@gmail.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/scripts')
-rwxr-xr-xsupport/scripts/graph-build-time3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/scripts/graph-build-time b/support/scripts/graph-build-time
index 524c30d478..4bb90c278b 100755
--- a/support/scripts/graph-build-time
+++ b/support/scripts/graph-build-time
@@ -49,9 +49,10 @@
# * argparse (by default in Python 2.7, requires python-argparse if
# Python 2.6 is used)
-import matplotlib
+import matplotlib as mpl
import numpy
+mpl.use('Agg')
import matplotlib.pyplot as plt
import matplotlib.font_manager as fm
import csv
OpenPOWER on IntegriCloud