(self, val)
| 807 | self.vline_y.set_xdata([val, val]) |
| 808 | |
| 809 | def on_change(self, val): |
| 810 | self.mutex.lock() # Make video frame retrieval thread-safe |
| 811 | self.curr_frame = int(val) |
| 812 | self.video.set_to_frame(self.curr_frame) |
| 813 | img = self.video.read_frame() |
| 814 | self.mutex.unlock() |
| 815 | if img is not None: |
| 816 | # Automatically disable the draggable points |
| 817 | if self.draggable: |
| 818 | self.drag_toggle.set_active(False) |
| 819 | |
| 820 | self.im.set_array(img) |
| 821 | self.display_points(self.curr_frame) |
| 822 | self.display_trails(self.curr_frame) |
| 823 | self.update_vlines(self.curr_frame) |
| 824 | |
| 825 | def update_dotsize(self, val): |
| 826 | self.dotsize = val |
nothing calls this directly
no test coverage detected