'Sets the event picker details for the line.
ACCEPTS: float distance in points or callable pick function
``fn(artist, event)``'

def set_picker(self, p):

    if callable(p):
        self._contains = p
    else:
        self.pickradius = p
    self._picker = p
