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

Method trigger

lib/matplotlib/backend_tools.py:418–421  ·  view source on GitHub ↗
(self, sender, event, data=None)

Source from the content-addressed store, hash-verified

416 """Base Tool to toggle between linear and logarithmic."""
417
418 def trigger(self, sender, event, data=None):
419 if event.inaxes is None:
420 return
421 super().trigger(sender, event, data)
422
423 def enable(self, event=None):
424 self.set_scale(event.inaxes, 'log')

Callers

nothing calls this directly

Calls 1

triggerMethod · 0.45

Tested by

no test coverage detected