Answers for "matplotlib limit number of ticks"

-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

Python Answers by Framework

Browse Popular Code Answers by Language