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

Method on_text_change

lib/matplotlib/widgets.py:1735–1741  ·  view source on GitHub ↗

When the text changes, call this *func* with event. A connection id is returned which can be used to disconnect.

(self, func)

Source from the content-addressed store, hash-verified

1733 self.ax.get_figure(root=True).canvas.draw()
1734
1735 def on_text_change(self, func):
1736 """
1737 When the text changes, call this *func* with event.
1738
1739 A connection id is returned which can be used to disconnect.
1740 """
1741 return self._observers.connect('change', lambda text: func(text))
1742
1743 def on_submit(self, func):
1744 """

Callers 1

test_TextBoxFunction · 0.95

Calls 2

funcFunction · 0.50
connectMethod · 0.45

Tested by 1

test_TextBoxFunction · 0.76