class_docstr: Helper class that groups all the user interactions for a Figure
  
  Attributes
  ----------
  figure: `Figure`
  keypresslock: `widgets.LockDraw`
      `LockDraw` object to know if the `canvas` key_press_event is locked
  messagelock: `widgets.LockDraw`
      `LockDraw` object to know if the message is available to write
class_docstr_tok: ["Helper","class","that","groups","all","the","user","interactions","for","a","Figure","Attributes","--","--","--","--","--","figure",":","`","Figure","`","keypresslock",":","`","widgets.LockDraw","`","`","LockDraw","`","object","to","know","if","the","`","canvas","`","key_press_event","is","locked","messagelock",":","`","widgets.LockDraw","`","`","LockDraw","`","object","to","know","if","the","message","is","available","to","write"]
docstr: Trigger on a tool
  
  Method to actually trigger the tool
docstr_tok: ["Trigger","on","a","tool","Method","to","actually","trigger","the","tool"]
code: def _trigger_tool(
      self, name, sender=None, canvasevent=None, data=None
  ):
      """
      Trigger on a tool
  
      Method to actually trigger the tool
      """
      tool = self.get_tool(name)
  
      if isinstance(tool, tools.ToolToggleBase):
          self._handle_toggle(tool, sender, canvasevent, data)
  
      # Important!!!
      # This is where the Tool object gets triggered
      tool.trigger(sender, canvasevent, data)
  
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 19 for calling the ToolManager obj's underlying member method code with example usage: obj._trigger_tool(name, sender, canvasevent, data) without return types