'I am plotting a graph of a Series, but its x ticks are very close to each other. How do I deal with this situation

df.Grouped.value_counts()[0:100].plot(kind='bar', title='Products commonly bought in pair')

I am getting the correct graph, but the x-ticks are very close to each other. How do I separate them?

This is my graph with x-ticks very close to each other, making it impossible to read:

current graph



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source