(self, vmin, vmax)
| 3022 | return False |
| 3023 | |
| 3024 | def _draw_shape(self, vmin, vmax): |
| 3025 | if vmin > vmax: |
| 3026 | vmin, vmax = vmax, vmin |
| 3027 | if self.direction == 'horizontal': |
| 3028 | self._selection_artist.set_x(vmin) |
| 3029 | self._selection_artist.set_width(vmax - vmin) |
| 3030 | else: |
| 3031 | self._selection_artist.set_y(vmin) |
| 3032 | self._selection_artist.set_height(vmax - vmin) |
| 3033 | |
| 3034 | def _set_active_handle(self, event): |
| 3035 | """Set active handle based on the location of the mouse event.""" |
no test coverage detected