Python3——matplotlib条形图的绘制

实验环境 python 3.6 matplotlib 2.2.3 条形图的绘制 matplotlib.pyplot.bar(left, height, alpha=1, width=0.8, color=, edgecolor=, label=, lw=3) 1. left:x轴的位置序列,一般采用range函数产生一个序列,但是有时候可以是字符串 2. height:y轴的数值序列,也就是柱
相关文章
相关标签/搜索