aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Sascha Arthur <sascha.arthur@gmail.com>2014-09-21 18:46:26 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-09-21 22:44:42 +0200
commit28ed63bae24f109907daab3ffa24edb8fb66d1ce (patch)
tree019379f44fdd7fa1d9ce91dcb36b72f08970f833 /support
parentc6273204bcfa4a46f1de5c158accfdc40e15d148 (diff)
downloadbuildroot-28ed63bae24f109907daab3ffa24edb8fb66d1ce.tar.gz
buildroot-28ed63bae24f109907daab3ffa24edb8fb66d1ce.tar.bz2
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')
-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