I have the same issue. I am using Plotly https://cdn.plot.ly/plotly-2.32.0.min.js
I am trying to deselect the lasso selection programmatically.
The following two approaches work in version 1.58.5:
Plotly.restyle(graphDiv, 'selectedpoints', null)
and
Plotly.restyle(graphDiv, {selectedpoints: [null]})
In the current versions 2.32.0 and 2.33.0 it does not work anymore.
Is there a new alternative?