/usr/lib/python2.7/dist-packages/dipy/viz/__init__.py is in python-dipy 0.10.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # 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
|