(self, event)
| 861 | 'motion_notify_event', self._mouse_move) |
| 862 | |
| 863 | def _release(self, event): |
| 864 | if self._button_pressed is None: |
| 865 | self._cancel_action() |
| 866 | return |
| 867 | |
| 868 | self.figure.canvas.mpl_disconnect(self._id_drag) |
| 869 | self.toolmanager.messagelock.release(self) |
| 870 | |
| 871 | for a, _ind in self._xypress: |
| 872 | a.end_pan() |
| 873 | if not self._xypress: |
| 874 | self._cancel_action() |
| 875 | return |
| 876 | |
| 877 | self.toolmanager.get_tool(_views_positions).push_current() |
| 878 | self._cancel_action() |
| 879 | |
| 880 | def _mouse_move(self, event): |
| 881 | for a, _ind in self._xypress: |
nothing calls this directly
no test coverage detected