I have a plot
(density plot) from data, used as a background. I add a line or a curve over it, and need to change position of that curve with mouse click
.
How can I do that in Python using matplotlib
?
Building the plot take time, so I want not to redraw
the whole plot, only a simple curve or a line.