code: def clear(self):
      QtWidgets.QTreeWidget.clear(self)
      self.frames = []
  
file_path: pyqtgraph/pyqtgraph/console/stackwidget.py
imports: import sys, traceback
  from ..Qt import QtWidgets, QtGui
label_desc: Use image node_id 3 for calling the StackWidget obj's underlying member method code with example usage: obj.clear() without return types