From 28ed63bae24f109907daab3ffa24edb8fb66d1ce Mon Sep 17 00:00:00 2001 From: Sascha Arthur Date: Sun, 21 Sep 2014 18:46:26 +0200 Subject: [PATCH] scripts/graph-build-time: remove X dependency [Thomas: tweak commit title.] Signed-off-by: Sascha Arthur Tested-by: "Yann E. MORIN" Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- support/scripts/graph-build-time | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/scripts/graph-build-time b/support/scripts/graph-build-time index 524c30d47..4bb90c278 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