- 博客(1)
- 收藏
- 关注
原创 Matplotlib学习
配置:1:简单柱状图import matplotlib.pyplot as plt#创建图形对象fig = plt.figure()#添加子图区域,参数值表示[left, bottom, width, height ]ax = fig.add_axes([0,0,1,1])#准备数据langs = ['C', 'C++', 'Java', 'Python', 'PHP']students = [23,17,35,29,12]#绘制柱状图ax.bar(langs,students)
2022-05-10 10:53:40
215
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人