-1

This is the result of my code, what changes can be made ? this is the my code result, what changes can be made ?

I want this as the result: I want this as result.

Please Help.

Mr. T
  • 11,960
  • 10
  • 32
  • 54
  • Could you please add you code – Tobias Wilfert Dec 01 '18 at 08:36
  • 1
    If you post your code as text, it’s much easier to help, so I’d suggest doing that. It’s probably going to be `plt.xticks()` or `ax.set_ticks()` though depending on how you’ve created the plot – Andrew Dec 01 '18 at 08:36

1 Answers1

0

Make use of xticks and numpy together and you can provide the steps:

matplotlib.pyplot.xticks(numpy.arange(0,21,step=5))

Sample output:

enter image description here

Amit Amola
  • 2,301
  • 2
  • 22
  • 37