no global matplotlib import
@@ -8,12 +8,13 @@ from __future__ import print_function, division
import os
import sys
import warnings
-import matplotlib.pyplot as plt
# check availability of property cycler (matplotlib 1.5ish)
if True: # create dummy scope
import matplotlib
+ import matplotlib.pyplot as plt
+ print(dir(matplotlib))
fig = matplotlib.figure.Figure()
ax = fig.add_axes()
if not hasattr(ax, 'set_prop_cycle'):
@@ -60,6 +61,8 @@ except ImportError as e:
warnings.warn("'sbml2matlab' could not be imported", ImportWarning)
+
+
# ---------------------------------------------------------------------
# group: utility
# ---------------------------------------------------------------------
