Graphical tool for choosing a subset of 2D points, largely based on code matplotlib User's Guide