diff options
Diffstat (limited to 'training')
-rwxr-xr-x | training/mira/mira.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/training/mira/mira.py b/training/mira/mira.py index 7b2d06a3..d5a1d9f8 100755 --- a/training/mira/mira.py +++ b/training/mira/mira.py @@ -12,6 +12,8 @@ except ImportError: sys.exit(1) have_mpl = True try: + import matplotlib + matplotlib.use('Agg') import matplotlib.pyplot as plt except ImportError: have_mpl = False |