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

Method disable

lib/matplotlib/backend_tools.py:210–223  ·  view source on GitHub ↗

Disable the toggle tool. `trigger` call this method when `~ToolToggleBase.toggled` is True. This can happen in different circumstances. * Click on the toolbar tool button. * Call to `matplotlib.backend_managers.ToolManager.trigger_tool`. * Another

(self, event=None)

Source from the content-addressed store, hash-verified

208 pass
209
210 def disable(self, event=None):
211 """
212 Disable the toggle tool.
213
214 `trigger` call this method when `~ToolToggleBase.toggled` is True.
215
216 This can happen in different circumstances.
217
218 * Click on the toolbar tool button.
219 * Call to `matplotlib.backend_managers.ToolManager.trigger_tool`.
220 * Another `ToolToggleBase` derived tool is triggered
221 (from the same `.ToolManager`).
222 """
223 pass
224
225 @property
226 def toggled(self):

Callers 1

triggerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected