
python
文章平均质量分 85
华盛顿精神科医生
啥都会,啥也不会
展开
-
易班打卡——自动填写健康日报
使用Python提交日报日报原创 2021-08-27 09:51:19 · 4747 阅读 · 10 评论 -
Matplotlib绘制条形图和误差折线图
Matplotlib的绘图功能 文章目录Matplotlib的绘图功能1.条形图绘制其他样式的柱形图水平的条形图2.误差线坐标轴参数plot方法errorbar方法3.文字注释text方法figtext方法annotate方法 1.条形图 import matplotlib.pyplot as plt data = [5, 20, 15, 25, 10] plt.bar(range(len(data)), data) plt.show() bar(left, height, width=0.8, b原创 2020-11-18 00:13:18 · 4405 阅读 · 0 评论