Skip to content

Commit 321825b

Browse files
authored
fix command in example comment (#12545)
1 parent 6b5a59d commit 321825b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

examples/forward/left_cerebellum_volume_source.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
# And display source positions in freeview::
7474
#
7575
# >>> from mne.utils import run_subprocess
76-
# >>> mri_fname = subjects_dir + '/sample/mri/brain.mgz'
77-
# >>> run_subprocess(['freeview', '-v', mri_fname, '-v',
78-
# '%s:colormap=lut:opacity=0.5' % aseg_fname, '-v',
79-
# '%s:colormap=jet:colorscale=0,2' % nii_fname,
80-
# '-slice', '157 75 105'])
76+
# >>> mri_fname = subjects_dir / "sample" / "mri" / "brain.mgz"
77+
# >>> run_subprocess(["freeview", "-v", str(mri_fname), "-v",
78+
# f"{aseg_fname}:colormap=lut:opacity=0.5",
79+
# "-v", f"{nii_fname}:colormap=jet:colorscale=0,2",
80+
# "--slice", "157", "75", "105"])

0 commit comments

Comments
 (0)