Skip to content

Commit 5097571

Browse files
committed
FIX: Minor fixes
1 parent 8bb7fb0 commit 5097571

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nibabel/viewers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ class OrthoSlicer3D(object):
5757
>>> a = np.sin(np.linspace(0,np.pi,20))
5858
>>> b = np.sin(np.linspace(0,np.pi*5,20))
5959
>>> data = np.outer(a,b)[..., np.newaxis]*a
60-
>>> OrthoSlicer3D(data).show()
60+
>>> OrthoSlicer3D(data).show() # doctest: +SKIP
6161
"""
62+
# Skip doctest above b/c not all systems have mpl installed
6263
def __init__(self, data, axes=None, aspect_ratio=(1, 1, 1), cmap='gray',
6364
pcnt_range=None):
6465
"""

0 commit comments

Comments
 (0)