Below is the screenshot from my dataset.
I am plotting, length of the text ( it varies from 1 to 1000) along the x axis , and sum(useful), sum(funny) and sum(cool), along the y axis.
I am using below command to plot:
df.plot(x="length(text)", y=["sum(useful)", "sum(funny)", "sum(cool)"], kind="bar",figsize=None)
Below is the screenshot from my plot:
Now, I want to make my x axis, in intervals, rather than continuous values in graph, to make it more visible. How to achieve this in matplotlib ?