I’m having an issue where the tooltips created by hoverinfo
do not close when the mouse leaves the plot div. I’d like to programmatically clear out the tooltips which I could fire either on a mouseleave
event or after a timeout.
I have tried
import * as Plotly from "plotly.js/dist/plotly";
Plotly.Fx.unhover(gd);
// and
Plotly.relayout(gd, {hovermode: false});
neither of which closed the tooltips.
Does anyone know of a way to do this?