Skip to content

Commit

Permalink
Merge branch 'Aswendt-Lab:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Danyyyel authored Aug 22, 2024
2 parents 337a35a + 9b58a43 commit 2faebc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/3.3_fMRIActivity/plotfMRI_mat.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def matrixMaker(matData, output_path):

fig, ax = plt.subplots()

sns.heatmap(corrMatrix, vmin = 0, vmax = 1)
sns.heatmap(corrMatrix, vmin = 0, vmax = 0.75)
ax.axis('tight')

# Set labels
Expand All @@ -48,9 +48,9 @@ def matrixMaker(matData, output_path):
rotation_mode="anchor")

ax.set_title("rsfMRI Correlation between ARA regions")
output_file = os.path.join(output_path, "CorrMatrixHM")
output_file = os.path.join(output_path, "CorrMatrixHM.png")
plt.savefig(output_file)
plt.close
plt.close()
return corrMatrix


Expand Down

0 comments on commit 2faebc9

Please sign in to comment.