We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 211af3f commit 675633eCopy full SHA for 675633e
plotly/basedatatypes.py
@@ -4117,6 +4117,13 @@ def _dispatch_on_selection(self,
4117
"""
4118
Dispatch points and selector info to selection callbacks
4119
4120
+ if 'selectedpoints' in self:
4121
+ # Update the selectedpoints property, which will notify all views
4122
+ # of the selection change. This is a special case because no
4123
+ # restyle event is emitted by plotly.js on selection events
4124
+ # even though these events update the selectedpoints property.
4125
+ self.selectedpoints = points.point_inds
4126
+
4127
for callback in self._select_callbacks:
4128
callback(self, points, selector)
4129
0 commit comments