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.
Select/Copy Plotly Hovertext
Asked Answered
Now that this has been reopened, I suggest you add a minimal reproducible example so it doesn't get closed again –
Hemlock
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.
- open inspect mode (in chrome, right click +
inspect
). - click on your point of interest in plot
cmd+f
orctrl+f
to search in HTML code.- search for
hovertext
You will find the text there.
© 2022 - 2024 — McMap. All rights reserved.