Matplotlib: Sharing the Legend Box in Twin Axes

1 · Wen Wei Tseng · Sept. 10, 2021, 9:26 a.m.
Capture line plot objects from both axes. Call legend() for both(all) line plot objects. ...