<reponame>JohnGriffiths/dipy
# Init file for visualization package
from __future__ import division, print_function, absolute_import

# We make the visualization requirements optional imports:

try:
    import matplotlib
    has_mpl = True
except ImportError:
    e_s = "You do not have Matplotlib installed. Some visualization functions"
    e_s += " might not work for you."
    print(e_s)
    has_mpl = False

if has_mpl:
    from . import projections

# Init file for visualization package
from __future__ import division, print_function, absolute_import

# We make the visualization requirements optional imports:

try:
    import matplotlib
    has_mpl = True
except ImportError:
    e_s = "You do not have Matplotlib installed. Some visualization functions"
    e_s += " might not work for you."
    print(e_s)
    has_mpl = False

if has_mpl:
    from . import projections
# Init file for visualization package # We make the visualization requirements optional imports: