class_docstr: Widget used to display or control data from a hierarchy of Parameters
class_docstr_tok: ["Widget","used","to","display","or","control","data","from","a","hierarchy","of","Parameters"]
docstr: Remove all parameters from the tree.        
docstr_tok: ["Remove","all","parameters","from","the","tree","."]
code: def clear(self):
      """
      Remove all parameters from the tree.
      """
      self.invisibleRootItem().takeChildren()
  
file_path: pyqtgraph/pyqtgraph/parametertree/ParameterTree.py
imports: from .parameterTypes import GroupParameterItem
  from ..Qt import QtCore, QtWidgets, mkQApp
  from ..widgets.TreeWidget import TreeWidget
  from .ParameterItem import ParameterItem
label_desc: Use image node_id 4 for calling the ParameterTree obj's underlying member method code with example usage: obj.clear() without return types