summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraustinma <austinma@cs.cmu.edu>2015-04-10 00:28:41 -0400
committeraustinma <austinma@cs.cmu.edu>2015-04-10 00:28:41 -0400
commit3afa8eaa99740f89e0dadda21cf7a9e3546d6047 (patch)
tree7dcf15cfabc88f960604f87c625dbff38a855c5c
parent638e28db2b2146e8920ec105792d2b03a0de5c3e (diff)
Fixed bug in MPL detection
-rwxr-xr-xtraining/mira/mira.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/training/mira/mira.py b/training/mira/mira.py
index 4c87c664..d28a1e8d 100755
--- a/training/mira/mira.py
+++ b/training/mira/mira.py
@@ -9,6 +9,7 @@ try:
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
+ have_mpl = True
except ImportError:
have_mpl = False