class_docstr: Manager for actions triggered by user interactions (key press, toolbar
  clicks, ...) on a Figure.
  
  Attributes
  ----------
  figure : `.Figure`
  keypresslock : `~matplotlib.widgets.LockDraw`
      `.LockDraw` object to know if the `canvas` key_press_event is locked.
  messagelock : `~matplotlib.widgets.LockDraw`
      `.LockDraw` object to know if the message is available to write.
class_docstr_tok: ["Manager","for","actions","triggered","by","user","interactions","(","key","press",",","toolbar","clicks",",","...",")","on","a","Figure",".","Attributes","--","--","--","--","--","figure",":","`",".Figure","`","keypresslock",":","`","~matplotlib.widgets.LockDraw","`","`",".LockDraw","`","object","to","know","if","the","`","canvas","`","key_press_event","is","locked",".","messagelock",":","`","~matplotlib.widgets.LockDraw","`","`",".LockDraw","`","object","to","know","if","the","message","is","available","to","write","."]
docstr: Return the keymap associated with the specified tool.
  
  Parameters
  ----------
  name : str
      Name of the Tool.
  
  Returns
  -------
  list of str
      List of keys associated with the tool.
docstr_tok: ["Return","the","keymap","associated","with","the","specified","tool",".","Parameters","--","--","--","--","--","name",":","str","Name","of","the","Tool",".","Returns","--","--","--","-","list","of","str","List","of","keys","associated","with","the","tool","."]
code: def get_tool_keymap(self, name):
      """
      Return the keymap associated with the specified tool.
  
      Parameters
      ----------
      name : str
          Name of the Tool.
  
      Returns
      -------
      list of str
          List of keys associated with the tool.
      """
  
      keys = [k for k, i in self._keys.items() if i == name]
      return keys
  
imports: from matplotlib import _api, backend_tools, cbook, widgets
label_desc: Use image node_id 10 for calling the ToolManager obj's underlying member method code with example usage: obj.get_tool_keymap(name) and returns: keys