I use matplotlib in combiantion with pandas. It happens often that I plot several data points and I would like to select some of the points with a something like lasso tool and save this information as some kind of annotation.
For example: Lets say I plot the data of this dataframe:
Age Score
John 18 30
Maria 11 28
Paul 20 22
Frank 15 10
Jade 18 30
Kim 30 25
... .. ..
I would like to select with a lasso kind of tool the area low Age high Score I am interested about. So that, in the end, with some manipulation I could get something like that:
Age Score GoodCandidate
John 18 30 True
Maria 20 28 True
Paul 60 22 False
Frank 19 10 False
Jade 18 30 True
Kim 40 25 False
... .. .. ...
Suggestions how to do that?