python – 了解matplotlib xticks语法

python – 了解matplotlib xticks语法

我正在读书,我遇到这个代码: import matplotlib.pyplot as pltplt.scatter(x,y)plt.title(Web traffic over the last month)plt.xlabel(Time)plt.ylabel(Hits/hour)plt.xticks([w*7*24 for w in range(10)], [wee