You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Buttons to choose 'hover to closest' and 'hover to compare' disappear in versions from 2.0.0 to 2.3.1. See repo here https://codepen.io/zyzhu/pen/BaREOVg
Buttons are there in 1.58.4
If I change version to plotly-latest.min.js. The buttons show up.
You could use v1hovermode or hovercompare, hoverclosest, togglehover and togglespikelines in config similar to this codepen. Please see #5654 for more info.
In addition you could use layout.modebar.add. Please see #5660.
changed the title [-]Buttons to choose 'hover to closest' and 'hover to compare' disappear since version 2.0[/-][+]update documentation about hover modes in buttons[/+]on Aug 9, 2024
Activity
archmoj commentedon Aug 16, 2021
You could use
v1hovermode
orhovercompare
,hoverclosest
,togglehover
andtogglespikelines
inconfig
similar to this codepen. Please see #5654 for more info.In addition you could use
layout.modebar.add
. Please see #5660.zyzhu commentedon Aug 16, 2021
Thanks for pointing that out. I didn't find
v1hovermode
,hovercompare
,hoverclosest
in the documentation here https://plotly.com/javascript/configuration-options/#remove-modebar-buttons. Addingtogglehover
only does not work. Maybe the documentation shall be updated.[-]Buttons to choose 'hover to closest' and 'hover to compare' disappear since version 2.0[/-][+]update documentation about hover modes in buttons[/+]