Scatterplot Box/Lasso Selection Persistence

Hi all:

I have an application build on Plotly Dash that uses a Scatterplot to display a data points. We allow the user to both box and lasso select a given region. This selection triggers a query to the backend for information on the selected data points. Ideally, I want to be able to persist the box selection outline (or lasso selection outline) on the screen between queries. I’ve tried experimenting with a number of properties including ‘uirevision’ and ‘selectionrevision’, but I am unable to persist the selection outline between UI updates/queries to the backend.

Is this possible to do?

Thanks for any help!!!