摘要: 运行如下代码; # 需求:画出某城市11点到12点1小时内每分钟的温度变化折线图,温度范围在15度~18度 import random import matplotlib.pyplot as plt # 1、准备数据 x y x = range(60) y_shanghai = [random.un 阅读全文
posted @ 2021-01-27 22:16 喜欢爬的孩子 阅读(882) 评论(0) 推荐(0) 编辑
摘要: matplotlib介绍: Matplotlib 是专门用于开发2D图表(包括3D图表)的python库 对应的JS库有 D3 (opens new window)echarts 官网:Matplotlib 为神魔要学习matplotlib: 实现一个简单的matplotlib画图: 我们可以将图丰 阅读全文
posted @ 2021-01-27 20:34 喜欢爬的孩子 阅读(125) 评论(0) 推荐(0) 编辑