python 绘制堆积柱状图
1.原理https://blog.csdn.net/m0_48405781/article/details/108420697Axes.bar(self, x, height, width=0.8, bottom=None, *, align=’center’, data=None, **kwargs)在绘制堆积图时,是在前一个的基础上累加的,即需要设置bottom参数。举例:import numpy as npimport matplotlib.pyplot as plt lab