Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Update data points while shape dragging

I want to be able to update the plot, while dragging a shape. The issue that I encountered is that if I Plotly.relayout, Plotly.react, Plotly.restyle the shape does not update the position anymore while dragging. At drag end the shape is updated to the correct position. I’ve also added an example on codepen to make it more clear. This is updating the color of a point when shape overlap it.

Does anybody know if Plotly can handle this situation? I am open for any workarounds that would help me…