Answers for "set number of xticks matplotlib"

0

change xticks python

plt.xticks(np.arange(0,10),np.arange(10,20))
Posted by: Guest on March-20-2020
-1

matplotlib limit number of ticks

plt.xaxis.set_major_locator(plt.MaxNLocator(3))
plt.yaxis.set_major_locator(plt.MaxNLocator(3))
Posted by: Guest on March-26-2020

Code answers related to "set number of xticks matplotlib"

Python Answers by Framework

Browse Popular Code Answers by Language