📜  关闭 xticks matplotlib - Python 代码示例

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

代码示例1
# for matplotlib.pyplot
# ---------------------
plt.xticks([], [])
# for axis object
# ---------------
# from Anakhand May 5 at 13:08
# for major ticks
ax.set_xticks([])
# for minor ticks
ax.set_xticks([], minor=True)