@@ -838,9 +838,9 @@ def compcor_variance_plot(
838
838
839
839
ax [m ].set_yticks ([])
840
840
ax [m ].set_yticklabels ([])
841
- for tick in ax [m ].xaxis .get_major_ticks ():
842
- tick . label .set_fontsize ("x-small" )
843
- tick . label .set_rotation ("vertical" )
841
+ for label in ax [m ].xaxis .get_majorticklabels ():
842
+ label .set_fontsize ("x-small" )
843
+ label .set_rotation ("vertical" )
844
844
for side in ["top" , "right" , "left" ]:
845
845
ax [m ].spines [side ].set_color ("none" )
846
846
ax [m ].spines [side ].set_visible (False )
@@ -934,10 +934,10 @@ def confounds_correlation_plot(
934
934
sns .heatmap (corr , linewidths = 0.5 , cmap = "coolwarm" , center = 0 , square = True , ax = ax0 )
935
935
ax0 .tick_params (axis = "both" , which = "both" , width = 0 )
936
936
937
- for tick in ax0 .xaxis .get_major_ticks ():
938
- tick . label .set_fontsize ("small" )
939
- for tick in ax0 .yaxis .get_major_ticks ():
940
- tick . label .set_fontsize ("small" )
937
+ for label in ax0 .xaxis .get_majorticklabels ():
938
+ label .set_fontsize ("small" )
939
+ for label in ax0 .yaxis .get_majorticklabels ():
940
+ label .set_fontsize ("small" )
941
941
sns .barplot (
942
942
data = gscorr ,
943
943
x = "index" ,
@@ -953,11 +953,11 @@ def confounds_correlation_plot(
953
953
ax1 .tick_params (axis = "x" , which = "both" , width = 0 )
954
954
ax1 .tick_params (axis = "y" , which = "both" , width = 5 , length = 5 )
955
955
956
- for tick in ax1 .xaxis .get_major_ticks ():
957
- tick . label .set_fontsize ("small" )
958
- tick . label .set_rotation ("vertical" )
959
- for tick in ax1 .yaxis .get_major_ticks ():
960
- tick . label .set_fontsize ("small" )
956
+ for label in ax1 .xaxis .get_majorticklabels ():
957
+ label .set_fontsize ("small" )
958
+ label .set_rotation ("vertical" )
959
+ for label in ax1 .yaxis .get_majorticklabels ():
960
+ label .set_fontsize ("small" )
961
961
for side in ["top" , "right" , "left" ]:
962
962
ax1 .spines [side ].set_color ("none" )
963
963
ax1 .spines [side ].set_visible (False )
0 commit comments