📜  matplotlib twinx legend - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:49.975000             🧑  作者: Mango

代码示例2
lns = lns1+lns2+lns3
labs = [l.get_label() for l in lns]
ax.legend(lns, labs, loc=0)