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: Set the keymap to associate with the specified tool
  
  Parameters
  ----------
  name : string
      Name of the Tool
  keys : keys to associate with the Tool
docstr_tok: ["Set","the","keymap","to","associate","with","the","specified","tool","Parameters","--","--","--","--","--","name",":","string","Name","of","the","Tool","keys",":","keys","to","associate","with","the","Tool"]
code: def update_keymap(self, name, *keys):
      """
      Set the keymap to associate with the specified tool
  
      Parameters
      ----------
      name : string
          Name of the Tool
      keys : keys to associate with the Tool
      """
  
      if name not in self._tools:
          raise KeyError("%s not in Tools" % name)
  
      self._remove_keys(name)
  
      for key in keys:
          for k in validate_stringlist(key):
              if k in self._keys:
                  warnings.warn(
                      "Key %s changed from %s to %s"
                      % (k, self._keys[k], name)
                  )
              self._keys[k] = name
  
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 12 for calling the ToolManager obj's underlying member method code with example usage: obj.update_keymap(name) without return types