https://www.bilibili.com/video/av29438238/?p=4

plt.plot()

plt.xtrick(rotation=45)

plt.xlabel()/plt.ylabel()

fig=plt.figure(figsize=(3,3))

fig.add_subplot(4,1,(1/2/3/4))

label

plt.legend(loc='best')

条形图:两个参数,一个是高度,一个是横轴距离原点的距离

bar/barh

数据可视化之matplotlib

散点图

scatter

数据可视化之matplotlib

柱形图

hist

数据可视化之matplotlib

数据可视化之matplotlib

 

盒图

boxplot

数据可视化之matplotlib

数据可视化之matplotlib

 

数据可视化之matplotlib

相关文章: