seaborn 频数统计直方图
导入包import matplotlib.pyplot as pltimport seaborn as sns画图部分fig, ax = plt.Subplots(figsize=(30, 12))sns.Countplot(sumorderlist) # 在直方图上面加入该柱的数值: xx:x轴的数值list;y:y轴的数值listfor a,b in zip(xx, y): ax.text(a, b+1, b, ha='center', va='bottom') # a,b+