class_docstr: Event to inform  that a tool has been triggered
class_docstr_tok: ["Event","to","inform","that","a","tool","has","been","triggered"]
code: def __init__(self, name, sender, tool, canvasevent=None, data=None):
      ToolEvent.__init__(self, name, sender, tool, data)
      self.canvasevent = canvasevent
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import warnings
  import matplotlib.cbook
  import matplotlib.widgets
  from matplotlib.rcsetup import validate_stringlist
  import matplotlib.backend_tools
label_desc: Use image node_id 1 to create a new ToolTriggerEvent object from inherited base classes: ToolEvent with example: obj = ToolTriggerEvent(name, sender, tool, canvasevent, data)