diff --git a/samri/pipelines/fc.py b/samri/pipelines/fc.py index c5e3bd59..39ae0d64 100644 --- a/samri/pipelines/fc.py +++ b/samri/pipelines/fc.py @@ -200,10 +200,10 @@ def correlation_matrix(ts, brain_mask = path.abspath(path.expanduser(brain_mask)) labels_masker = NiftiLabelsMasker( - labels_img=brain_mask, - standardize=True, - memory='nilearn_cache', - verbose=5 + labels_img=brain_mask, + standardize=True, + memory='nilearn_cache', + verbose=5 ) timeseries = labels_masker.fit_transform(ts) diff --git a/samri/plotting/connectivity.py b/samri/plotting/connectivity.py index b441aa93..0e4199b9 100644 --- a/samri/plotting/connectivity.py +++ b/samri/plotting/connectivity.py @@ -36,9 +36,9 @@ def plot_connectivity_matrix(correlation_matrix, np.fill_diagonal(correlation_matrix, 0) sns.heatmap(correlation_matrix, - xticklabels=labels_np, - yticklabels=labels_np, - square = 1 + xticklabels=labels_np, + yticklabels=labels_np, + square = 1 ) plt.show()