Is it possible to get the list of selected points from a scatter plot in Python on a Jupyter notebook?

Hello, is it possible to get the list of selected points from a scatter plot in python on a Jupyter notebook?

I would like to be able to create two lists with distinct points using the lasso selection tool on a Jupyter notebook.

I found two references that seem to show how to do this on the older version, is this possible on v4? Links to what I found below.