Clearing the visual representation on plotly dash graph on selecting a date range in another graph

Hi people,

I have looked on the forum for a possible solution to my question below, but I can’t find any relevant answers. I would really appreciate any help regarding this.

I cam across this post and manage to solve that issue but my problem is slightly different.

I have two graphs. I wish to be able to select data on either graph. However, I want the opposite of cross-filtering i.e; when selecting data on one graph, I want it to automatically clear the selection in the other graph. I have managed to clear the “selectedData” property on the graph, but I can’t make the visual selection on the graph programmatically disappear without re-rendering both graphs. Is there a clean way to clear the lasso or rectangular select visuals when clearing the “selectedData” property ?