Custom x, y-ticks usando machado

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

y_range = np.arange(0,55, 5)
ax.set_yticks(y_range)
ax.set_yticklabels(y_range)
Chunxiao Wang