how to make words in x axis matplotlib vertical code example
Example 1: rotate axis labels matplotlib
plt.xticks(rotation=90)
Example 2: matplotlib axis rotate xticks
ax.tick_params(axis='x', rotation=45)
plt.xticks(rotation=90)
ax.tick_params(axis='x', rotation=45)