MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / stop_typing

Method stop_typing

site-packages/matplotlib/widgets.py:835–850  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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.

Callers 2

_clickMethod · 0.95
_resizeMethod · 0.95

Calls 3

set_visibleMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected