Legend not showing up in Matplotlib stacked area plot

后端 未结 4 2046
借酒劲吻你
借酒劲吻你 2020-12-13 14:59

I am creating a stacked line/area plot using plt.fill_between() method of the pyplot, and after trying so many things I am still not able to figure why it is not displaying

4条回答
  •  渐次进展
    2020-12-13 15:02

    Only to give an update about this matter as I as looking for it. At 2016, PolyCollection already provide support to the label attribute as you can see:

    https://github.com/matplotlib/matplotlib/pull/3303#event-182205203

提交回复
热议问题