mpl.text.Line2D.set_picker

Line2D.set_picker(p)[source]

Sets the event picker details for the line.

ACCEPTS: float distance in points or callable pick function fn(artist, event)