subplots_adjust(self, left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)
#wspace, hspace:子图之间的横向间距...、纵向间距分别与子图平均宽度、平均高度的比值。...plt.plot(squares, linewidth=5)
# 设置图表标题, 并给坐标轴加上标签
plt.title("Square Numbers", fontsize=24)
plt.xlabel...(x_values, y_values, c=y_values, cmap=plt.cm.Blues, edgecolor='none', s=40)
# 设置每个坐标轴的取值范围
plt.axis...函数
返回一系列连续增加的整数
randint()函数
返回一个1和面数之间的随机数