Bar plot x axis is getting very messy , I have also rotated the angle but it is still very messy any help would be appreciated.
this is the code
ax=yearresult.plot(kind='bar',x='BBB',y='AAA')
ax.set_xticklabels(ax.get_xticklabels(), rotation=90)
ax.legend(["AAA", "BBB"]);
plt.tight_layout()
plt.show()