Passen Sie den Zeckenabstand an
ax.set_xticks(range(18, 54, 5))
Chunxiao Wang
ax.set_xticks(range(18, 54, 5))