[Buildroot] [git commit] scripts/graph-build-time: remove X dependency

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Sep 21 20:44:42 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=28ed63bae24f109907daab3ffa24edb8fb66d1ce
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

[Thomas: tweak commit title.]

Signed-off-by: Sascha Arthur <sascha.arthur at gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 support/scripts/graph-build-time |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/support/scripts/graph-build-time b/support/scripts/graph-build-time
index 524c30d..4bb90c2 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


More information about the buildroot mailing list