When the line is picked, update the set of selected indices.
(self, event)
| 1715 | pass |
| 1716 | |
| 1717 | def onpick(self, event): |
| 1718 | """When the line is picked, update the set of selected indices.""" |
| 1719 | if event.artist is not self.line: |
| 1720 | return |
| 1721 | self.ind ^= set(event.ind) |
| 1722 | ind = sorted(self.ind) |
| 1723 | xdata, ydata = self.line.get_data() |
| 1724 | self.process_selected(ind, xdata[ind], ydata[ind]) |
| 1725 | |
| 1726 | |
| 1727 | lineStyles = Line2D._lineStyles |
nothing calls this directly
no test coverage detected