plt柱状图
其中:

fig,ax = plt.subplots() 

等价于

fig=plt.figure()
ax=fig.add_subplot(111)

plt柱状图
plt柱状图
PS: 横着画用.bar( ),竖着画用.barh( )

plt柱状图

相关文章: