https://github.com/marimo-team/gallery-examples/blob/main/notebooks/math/attractor.py
Try panning and zooming on the scatter plot, then click and hold to make a selection with your mouse and get the points back in Python!