Skip to content

Commit

Permalink
fix: typeerror ax.spines
Browse files Browse the repository at this point in the history
  • Loading branch information
celprov committed Oct 25, 2023
1 parent 3f10199 commit 33e999f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mriqc_learn/viz/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def plot_corrmat(
plt.setp(ax.get_xticklabels(), rotation=90, ha="right", va="center", rotation_mode="anchor")

# Turn spines off and create white grid.
ax.spines[:].set_visible(False)
plt.setp(ax.spines.values(), visible=False)

ax.set_xticks(np.arange(data.shape[1] + 1) - 0.5, minor=True)
ax.set_yticks(np.arange(data.shape[0] + 1) - 0.5, minor=True)
Expand Down

0 comments on commit 33e999f

Please sign in to comment.