Skip to content

Commit 57f7723

Browse files
committed
Fix style errors
- blank lines - variable declaration in example
1 parent 73bff0f commit 57f7723

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nibabel/imagestats.py

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def mask_volume(img, units='mm3'):
3838
Examples
3939
--------
4040
>>> import nibabel as nf
41+
>>> path = 'path/to/nifti/mask.nii'
4142
>>> img = nf.load(path) # path is contains a path to an example nifti mask
4243
>>> mask_volume(img)
4344
50.3021

0 commit comments

Comments
 (0)