enter image description hereI am trying to do rotation for my shared x axis xticks but the rotation works for some of the subplots and not for others. Could anyone point out my mistake
plt.rcParams["figure.figsize"] = [15.00, 7]
plt.rcParams["figure.autolayout"] = True
plt.tight_layout()
fig,ax = plt.subplots(3,2, sharex =True)
plt.xticks(rotation=45);
#fig.subplots_adjust(hspace=0.4, wspace=0.4)
sns.lineplot(ax=ax[0,0],x='YEAR',y ='GDP',data=data1, label ='GDP')
ax[0,0].title.set_text('GDP with DATE')
plt.xticks(rotation=45)
sns.lineplot(ax=ax[0,1],x='YEAR',y='mediansoldprice',data=data1)
ax[0,1].title.set_text('mediansoldprice with DATE')
plt.xticks(rotation=45)
sns.lineplot(ax=ax[1,0],x='YEAR',y='interestrates',data=data1,label ='interestrates')
plt.xticks(rotation=45)
sns.lineplot(ax=ax[1,1],x='YEAR',y='30yr_fixed_mortigage',data=data1,
label='30yr_fixed_mortigage')
plt.xticks(rotation=45)
sns.lineplot(ax=ax[2,0],x='YEAR',y='homeindex',data=data1,label ='homeindex')
plt.xticks(rotation=45)
plt.show()