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: Remove tool named *name*.
  
  Parameters
  ----------
  name : str
      Name of the tool.
docstr_tok: ["Remove","tool","named","*","name","*",".","Parameters","--","--","--","--","--","name",":","str","Name","of","the","tool","."]
code: def remove_tool(self, name):
      """
      Remove tool named *name*.
  
      Parameters
      ----------
      name : str
          Name of the tool.
      """
      tool = self.get_tool(name)
      if getattr(
          tool, "toggled", False
      ):  # If it's a toggled toggle tool, untoggle
          self.trigger_tool(tool, "toolmanager")
      self._remove_keys(name)
      event = ToolEvent("tool_removed_event", self, tool)
      self._callbacks.process(event.name, event)
      del self._tools[name]
  
imports: from matplotlib import _api, backend_tools, cbook, widgets
label_desc: Use image node_id 13 for calling the ToolManager obj's underlying member method code with example usage: obj.remove_tool(name) without return types