MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / stop_typing

Method stop_typing

lib/matplotlib/widgets.py:1690–1703  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1688 {k: [] for k in mpl.rcParams if k.startswith("keymap.")}))
1689
1690 def stop_typing(self):
1691 if self.capturekeystrokes:
1692 self._on_stop_typing()
1693 self._on_stop_typing = None
1694 notifysubmit = True
1695 else:
1696 notifysubmit = False
1697 self.capturekeystrokes = False
1698 self.cursor.set_visible(False)
1699 self.ax.get_figure(root=True).canvas.draw()
1700 if notifysubmit and self.eventson:
1701 # Because process() might throw an error in the user's code, only
1702 # call it once we've already done our cleanup.
1703 self._observers.process('submit', self.text)
1704
1705 @_call_with_reparented_event
1706 def _click(self, event):

Callers 3

_clickMethod · 0.95
_resizeMethod · 0.95
test_TextBoxFunction · 0.95

Calls 4

processMethod · 0.80
set_visibleMethod · 0.45
drawMethod · 0.45
get_figureMethod · 0.45

Tested by 1

test_TextBoxFunction · 0.76