Skip to content

Commit be78189

Browse files
authored
[DOC] Suppress fetcher output in examples
1 parent 7bd92e7 commit be78189

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

netneurotools/plotting.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,15 +429,17 @@ def plot_fsaverage(data, *, lhannot, rhannot, order='lr', mask=None,
429429
the left hemisphere.
430430
431431
>>> values = np.random.rand(219)
432-
>>> cammoun = fetch_cammoun2012('fsaverage')['scale125']
432+
>>> scale = 'scale125'
433+
>>> cammoun = fetch_cammoun2012('fsaverage', verbose=False)[scale]
433434
>>> plot_fsaverage(values, order='RL',
434435
... lhannot=cammoun.lh, rhannot=cammoun.rh) # doctest: +SKIP
435436
436437
Plotting with the Schaefer 2018 parcellation we can use the default
437438
parameter for `order`:
438439
439440
>>> values = np.random.rand(400)
440-
>>> schaefer = fetch_schaefer2018('fsaverage')['400Parcels7Networks']
441+
>>> scale = '400Parcels7Networks'
442+
>>> schaefer = fetch_schaefer2018('fsaverage', verbose=False)[scale]
441443
>>> plot_fsaverage(values,
442444
... lhannot=schaefer.lh,
443445
... rhannot=schaefer.rh) # doctest: +SKIP

0 commit comments

Comments
 (0)