Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

matplotlib limit number of ticks

plt.xaxis.set_major_locator(plt.MaxNLocator(3))
plt.yaxis.set_major_locator(plt.MaxNLocator(3))
 
PREVIOUS NEXT
Tagged: #matplotlib #limit #number #ticks
ADD COMMENT
Topic
Name
3+9 =