(self)
| 833 | rcParams[key] = [] |
| 834 | |
| 835 | def stop_typing(self): |
| 836 | notifysubmit = False |
| 837 | # because _notify_submit_users might throw an error in the |
| 838 | # user's code, we only want to call it once we've already done |
| 839 | # our cleanup. |
| 840 | if self.capturekeystrokes: |
| 841 | # since the user is no longer typing, |
| 842 | # reactivate the standard command keys |
| 843 | for key in self.params_to_disable: |
| 844 | rcParams[key] = self.reset_params[key] |
| 845 | notifysubmit = True |
| 846 | self.capturekeystrokes = False |
| 847 | self.cursor.set_visible(False) |
| 848 | self.ax.figure.canvas.draw() |
| 849 | if notifysubmit: |
| 850 | self._notify_submit_observers() |
| 851 | |
| 852 | def position_cursor(self, x): |
| 853 | # now, we have to figure out where the cursor goes. |
no test coverage detected