Skip to content

Commit 171119a

Browse files
committed
[MNT] Fix and update
1 parent 96ececb commit 171119a

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

netneurotools/plotting.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -420,25 +420,27 @@ def plot_fsaverage(data, *, lhannot, rhannot, order='lr', mask=None,
420420
Examples
421421
--------
422422
>>> import numpy as np
423-
>>> from netneurotools.datasets import fetch_cammoun2012, fetch_schaefer2018
423+
>>> from netneurotools.datasets import fetch_cammoun2012, \
424+
fetch_schaefer2018
424425
>>> from netneurotools.plotting import plot_fsaverage
425426
426-
Plotting with the Cammoun 2012 parcellation we specify `order='RL'` because
427-
many of the Lausanne connectomes have data for the right hemisphere before the
428-
left hemisphere.
427+
Plotting with the Cammoun 2012 parcellation we specify `order='RL'` because
428+
many of the Lausanne connectomes have data for the right hemisphere before
429+
the left hemisphere.
429430
430431
>>> values = np.random.rand(219)
431432
>>> cammoun = fetch_cammoun2012('fsaverage')['scale125']
432-
>>> plot_fsaverage(values, order='RL',
433-
... lhannot=cammoun.lh, rhannot=cammoun.rh) # DOCTEST: +SKIP
433+
>>> plot_fsaverage(values, order='RL',
434+
... lhannot=cammoun.lh, rhannot=cammoun.rh) # DOCTEST: +SKIP
434435
435-
Plotting with the Schaefer 2018 parcellation we can use the default parameter
436-
for `order`:
436+
Plotting with the Schaefer 2018 parcellation we can use the default
437+
parameter for `order`:
437438
438439
>>> values = np.random.rand(400)
439440
>>> schaefer = fetch_schaefer2018('fsaverage')['400Parcels7Networks']
440-
>>> plot_fsaverage(values,
441-
... lhannot=schaefer.lh, rhannot=schaefer.rh) # DOCTEST: +SKIP
441+
>>> plot_fsaverage(values,
442+
... lhannot=schaefer.lh,
443+
... rhannot=schaefer.rh) # DOCTEST: +SKIP
442444
443445
"""
444446

0 commit comments

Comments
 (0)