plt.bar的参数bottom应该传什么值呢?
matplotlib的Stacked Bar官网的example链接为:
https://matplotlib.org/gallery/lines_bars_and_markers/bar_stacked.html#sphx-glr-gallery-lines-bars-and-markers-bar-stacked-py
官档并没有对bottom这个参数做过多的解释。亲自实验后得出结论:bottom需要传入的是[第0个类别~(当前类别-1)]的数据总和。
当我们想加入第三个分类的时候unknown,应该怎么写呢?
<