I don’t know how this thing is called, or even how to describe it, so the title may be a little bit misleading.
The first attached graph was created with pyplot. I would like to draw a straight line that goes through all graphs instead of the three red dot I currently use. Is it possible in pyplot? Second image is what I am looking for.


You can pull this off by turning clipping off for the relevant lines. There’s probably a cleaner way to do this — you might be able to draw lines on the main frame directly — but the following worked for me:
With a bit more work you could modify the line drawing to handle the general case of multiple subplot windows, but I’m profoundly lazy. :^)