variables are now named via formula so that they can be looked up in the dataset of interest for each trace
when hovertext = "none" is set, I've also added text = "", as otherwise there would be a dimension mismatch, as text would otherwise be inherited from the main plot object
the creation of the KDE.text referenced the wrong object
</br> didn't create a newline in the hovered text, I've replaced it with <br />
The plot is now functional, although is not quite as complete as the non-interactive plot, but that seems expected, as there's no code present to draw the other elements. Fixes #220.
This required a few little changes:
hovertext = "none"
is set, I've also addedtext = ""
, as otherwise there would be a dimension mismatch, as text would otherwise be inherited from the main plot objectKDE.text
referenced the wrong object</br>
didn't create a newline in the hovered text, I've replaced it with<br />
The plot is now functional, although is not quite as complete as the non-interactive plot, but that seems expected, as there's no code present to draw the other elements. Fixes #220.