Interactive hover line

Hi,

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 (https://dash.plotly.com/interactive-graphing). If you can’t use Dash, you can use a FigureWidget inside the Jupyter notebook, see for example https://plotly.com/python/click-events/ (you can replace on_click by on_hover in the example).

1 Like