From ab74b70b73371ebf4136fd7b2675ad73f772d9cf Mon Sep 17 00:00:00 2001 From: Dilawar Singh <dilawars@ncbs.res.in> Date: Thu, 6 Sep 2018 16:34:16 +0530 Subject: [PATCH] use 'Agg' as backend. No test script should require DISPLAY to be set. --- moose-core/tests/python/test_muparser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moose-core/tests/python/test_muparser.py b/moose-core/tests/python/test_muparser.py index 447f589b..205479f4 100644 --- a/moose-core/tests/python/test_muparser.py +++ b/moose-core/tests/python/test_muparser.py @@ -7,6 +7,8 @@ Modified from https://elifesciences.org/articles/25827 , Fig4.py """ import sys import os +import matplotlib +matplotlib.use( 'Agg' ) import numpy as np import sys import numpy as np -- GitLab