Select/Copy Plotly Hovertext
Asked Answered
U

1

14

Is there a way to lock hovertext in place when I click a datapoint? I would like to be able to click and HTML hyperlink in the text, or copy a key from the text into another system.

Unfit answered 11/5, 2020 at 22:6 Comment(1)
Now that this has been reopened, I suggest you add a minimal reproducible example so it doesn't get closed againHemlock
S
0

I don't think there is a plotly native way to do so. But if you use jupyter notebooks, you can get the text using inspect mode.

  1. open inspect mode (in chrome, right click + inspect).
  2. click on your point of interest in plot
  3. cmd+f or ctrl+f to search in HTML code.
  4. search for hovertext

You will find the text there.

Santiagosantillan answered 24/7 at 15:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.