📜  左右两个图例 x asix matplotlib - Python 代码示例

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

代码示例1
l1 = ax.plot(...)
l2 = ax.plot(...)
l3 = a_r.plot(...)

lns = l1+l2+l3
labs = [l.get_label() for l in lns]
ax.legend(lns, labs, loc=0)