📜  轴标签 python 代码示例

📅  最后修改于: 2022-03-11 14:46:10.133000             🧑  作者: Mango

代码示例2
ticks = [0, 1, 2]
labels = ["a", "b", "c"]

plt.figure()
plt.xticks(ticks, labels)
plt.show()