摘要:
创建多个画布 # 2、创建画布 # nrows是行数 # ncols是列数 # 1行2列 就是横向排列的两个绘图区 # 2行1列 就是纵向排列的两个绘图区 # 返回图形对象和绘图对象 figure, axes = plt.subplots(nrows=1, ncols=2, figsize=(20, 阅读全文
posted @ 2023-02-20 23:19
correct
阅读(85)
评论(0)
推荐(0)
摘要:
添加网格 # 显示网格 # linestyle 网格线 # 透明度 plt.grid(True, linestyle="--", alpha=0.5) 添加描述信息 # 添加描述信息 plt.xlabel("时间") plt.ylabel("温度") plt.title("上海11时到12时温度变化 阅读全文
posted @ 2023-02-20 22:51
correct
阅读(179)
评论(0)
推荐(0)