From 4fe5b4cacad22c84110061cb1cce4c0cf29b79fa Mon Sep 17 00:00:00 2001 From: andreas128 Date: Thu, 17 Aug 2017 16:28:13 +0200 Subject: Fix plotting without DISPLAY --- dpd/src/Model.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dpd/src/Model.py') diff --git a/dpd/src/Model.py b/dpd/src/Model.py index 9ad7532..008dc1b 100644 --- a/dpd/src/Model.py +++ b/dpd/src/Model.py @@ -3,6 +3,8 @@ import numpy as np import datetime import logging +import matplotlib +matplotlib.use('agg') import matplotlib.pyplot as plt class Model: -- cgit v1.2.3