Set the event picker details for the line. Parameters ---------- p : float or callable[[Artist, Event], tuple[bool, dict]] If a float, it is used as the pick radius in points.
(self, p)
| 618 | return self._markevery |
| 619 | |
| 620 | def set_picker(self, p): |
| 621 | """ |
| 622 | Set the event picker details for the line. |
| 623 | |
| 624 | Parameters |
| 625 | ---------- |
| 626 | p : float or callable[[Artist, Event], tuple[bool, dict]] |
| 627 | If a float, it is used as the pick radius in points. |
| 628 | """ |
| 629 | if not callable(p): |
| 630 | self.set_pickradius(p) |
| 631 | self._picker = p |
| 632 | |
| 633 | def get_bbox(self): |
| 634 | """Get the bounding box of this line.""" |