Interactive hover line


Someone knows if in plotly I can do this action:

When hover a line, show another two dashed lines or show a shape

If yes, how I can do it?

Hi @tseronni welcome to the forum! This is something which you can do in a Dash application, catching the hoverData event emitted by the plotly figure ( If you can’t use Dash, you can use a FigureWidget inside the Jupyter notebook, see for example (you can replace on_click by on_hover in the example).

1 Like