How to see more detailed graph in jupyter notebook

Question:

How do I make the Graph in x and y axis display every 1 value like in x axis I want the graph to display 1 2 3 4 etc

This is the view() function

Thanks

Asked By: MathStudent1stYear

||

Answers:

Fast and simple can be:

plt.xticks(np.arange(1,25)) # for x-axis
plt.yticks(np.arange(1,25)) # for y-axis
Answered By: Curious
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.