Skip to content
Permalink
Browse files

Merge pull request #13220 from aeslaughter/python-mms

Support offscreen matplotlib plots in mms module
  • Loading branch information...
aeslaughter committed Apr 15, 2019
2 parents db5f106 + e1b5ba7 commit f6d153d9fdae95ef32c5fc443d6d09af2e3041f2
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/mms/__init__.py
@@ -12,7 +12,11 @@
from runner import run_spatial, run_temporal

try:
import os
import matplotlib
if not os.getenv('DISPLAY', False):
matplotlib.use('Agg')


except ImportError:
print("The 'mms' package requires matplotlib, it can be installed by running " \

0 comments on commit f6d153d

Please sign in to comment.
You can’t perform that action at this time.