I\'m trying to draw a line inside a scatterplot in matplotlib. I\'m using an event function, so that images will be displayed when hovering over with the cursor. Now I want