matplotlib bar show all tick labels code example
Example 1: tick labels vertical matplotlib
plt.xticks(rotation=45)
Example 2: own labels for ticks matplotlib
ax.set_xticklabels(labels)
plt.xticks(rotation=45)
ax.set_xticklabels(labels)