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

Method clear

lib/matplotlib/widgets.py:1970–1972  ·  view source on GitHub ↗

Reset the active button to the initially active one.

(self)

Source from the content-addressed store, hash-verified

1968 self._observers.process('clicked', self.labels[index].get_text())
1969
1970 def clear(self):
1971 """Reset the active button to the initially active one."""
1972 self.set_active(self._initial_active)
1973
1974
1975class SubplotTool(Widget):

Callers 1

test_RadioButtonsFunction · 0.95

Calls 1

set_activeMethod · 0.95

Tested by 1

test_RadioButtonsFunction · 0.76