We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9c67a8 commit 8190044Copy full SHA for 8190044
nibabel/__init__.py
@@ -41,9 +41,10 @@ def setup_test():
41
42
If imported into a file, nosetest will run this before any doctests.
43
"""
44
+ import numpy
45
from distutils.version import LooseVersion
- if LooseVersion(np.__version__) >= LooseVersion('1.14'):
46
- np.set_printoptions(legacy="1.13")
+ if LooseVersion(numpy.__version__) >= LooseVersion('1.14'):
47
+ numpy.set_printoptions(legacy="1.13")
48
49
50
# module imports
0 commit comments