Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Custom x, y-ticks using ax

ax.set_xticks(range(1897, 2022, 10))

y_range = np.arange(0,55, 5)
ax.set_yticks(y_range)
ax.set_yticklabels(y_range)
 
PREVIOUS NEXT
Tagged: #Custom #ax
ADD COMMENT
Topic
Name
1+7 =