xticks,yticks 原本的图片如下所示: 如果加上这样的语句: 1 import matplotlib.pyplot as plt 2 plt.xticks([]),plt.yticks([]) 显示结果就为: