is a reproducible example.
Sometimes it works, but most often when it retrieves the scatter
point index it display the error message
list index out of range:
. . . <ipython-input-20-ca1abaf933a6> in trigger_update(trace,points, state) 4 5 def trigger_update(trace, points, state): ----> 6 ind = points.point_inds#get the index of the scatter point that is hovered on 7 8 with fwd.batch_update():#update data and layout in the bar chart IndexError: list index out of range
What is odd is that it continues to update the bar chart on hover, even after displaying this error.
This behaviour manifests in any other pair consisting in a scatter plot (not only scatermapbox) and other FigureWidget to be updated.