Skip to content

Commit 91bc5e0

Browse files
authored
Merge pull request #157 from arokem/fix-153
BF: Propagate the key-word argument that enforces a black edgecolor
2 parents 0e9909d + ee0a2f9 commit 91bc5e0

File tree

2 files changed

+170
-229
lines changed

2 files changed

+170
-229
lines changed

doc/examples/resting_state_fmri.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,17 @@
9494
9595
First, we examine the correlations between the time-series extracted from
9696
different parts of the brain. The following script extracts the data (using the
97-
draw_matrix function, displaying the correlation matrix with the ROIs labeled.
97+
drawmatrix_channels function, displaying the correlation matrix with the ROIs
98+
labeled.
9899
99100
"""
100101

101-
#Initialize the correlation analyzer
102+
# Initialize the correlation analyzer
102103
C = CorrelationAnalyzer(T)
103104

104-
#Display the correlation matrix
105-
fig01 = drawmatrix_channels(C.corrcoef, roi_names, size=[10., 10.], color_anchor=0)
105+
# Display the correlation matrix
106+
fig01 = drawmatrix_channels(C.corrcoef, roi_names, size=[10., 10.],
107+
color_anchor=0)
106108

107109
"""
108110
@@ -227,8 +229,8 @@
227229
228230
"""
229231

230-
231-
coh = np.mean(C.coherence[:, :, freq_idx], -1) # Averaging on the last dimension
232+
# Averaging on the last dimension:
233+
coh = np.mean(C.coherence[:, :, freq_idx], -1)
232234
fig03 = drawmatrix_channels(coh, roi_names, size=[10., 10.], color_anchor=0)
233235

234236
"""

0 commit comments

Comments
 (0)