I want to show crosshair / spikes when user mouse hovers on data points. Something similar as shown in the graph at following link.
In 3D surface plots it is shown by default but 2D plots does not show it. Documentation says “showspikes” is available only in 3D but not in 2D.
Is there a way I can do this in 2D plots? Sample code would be helpful.