Skip to content

Commit 2202b33

Browse files
committed
[FIX] Fixed bug in plot_fsaverage()
Basically, plot_fsaverage reorders the hemispheres to have the data in the 'lr' format. So when it calls plot_fsvertex(), the order parameter should always be 'lr'
1 parent 6f47533 commit 2202b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netneurotools/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def plot_fsaverage(data, *, lhannot, rhannot, order='lr', mask=None,
550550

551551
vtx_data.append(vtx)
552552

553-
brain = plot_fsvertex(np.hstack(vtx_data), order=order, mask=None,
553+
brain = plot_fsvertex(np.hstack(vtx_data), order='lr', mask=None,
554554
subject_id=subject_id, subjects_dir=subjects_dir,
555555
vmin=vmin, vmax=vmax, **kwargs)
556556

0 commit comments

Comments
 (0)