I have a plot which has timestamps on the x-axis and some signal data on the y-axis. As a documentation I want to put timestamped pictures in relation to specific points in the plot. Is it possible to draw a line in a plot to a picture in a sequence of pictures below the plot?
Share
This demo from the matplotlib gallery shows how to insert pictures, draw lines to them, etc. I’ll post the image from the gallery, and you can follow the link to see the code.

And here’s the code (from version 2.1.2):