-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
highlight() function: setting the 'off' event to 'plotly_unhover' results in an error. #1864
Comments
highlight()
function: setting the off
event to 'plotly_hover' results in an error.
I don't think |
Trying to code this in R/Javascript. Any suggestions/psuedo-code would be welcome. Is there a JS function to turn selection off? |
if it helps anyone. I used onRender to add a restyling handler to the unhover event. Below 'gg' is my ggplotly object
great work @cpsievert 😄 . Actually reviewed your book in Biometrics (https://onlinelibrary.wiley.com/doi/full/10.1111/biom.13474). |
This is a modified example from here:
Not providing
off
results in a warning:Setting
off
toplotly_hover
orplotly_unhover
(my initial intention) results in an error:Found this via: https://stackoverflow.com/a/64387370/9841389
PS: using the latest CRAN version of
plotly
.The text was updated successfully, but these errors were encountered: