diff options
author | andreas128 <Andreas> | 2017-08-17 16:28:13 +0200 |
---|---|---|
committer | andreas128 <Andreas> | 2017-08-17 16:28:13 +0200 |
commit | 4fe5b4cacad22c84110061cb1cce4c0cf29b79fa (patch) | |
tree | 82c7d94d7301fcd5b4cacb92bf6ad55340a1251d /dpd/src/Model.py | |
parent | 2d70a92c178b4cf7460d09efd93a0e7918781a64 (diff) | |
download | dabmod-4fe5b4cacad22c84110061cb1cce4c0cf29b79fa.tar.gz dabmod-4fe5b4cacad22c84110061cb1cce4c0cf29b79fa.tar.bz2 dabmod-4fe5b4cacad22c84110061cb1cce4c0cf29b79fa.zip |
Fix plotting without DISPLAY
Diffstat (limited to 'dpd/src/Model.py')
-rw-r--r-- | dpd/src/Model.py | 2 |
1 files changed, 2 insertions, 0 deletions
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: |