Skip to main content
`Ctrl`+`K`

# DataTreeWidget

class pyqtgraph.DataTreeWidget(parent=None, data=None)

  Widget for displaying hierarchical python data structures (eg, nested dicts, lists, and arrays)

  __init__(parent=None, data=None)
  parse(data)
    Given any python object, return:

      - type

      - a short string representation

      - a dict of sub-objects to be parsed

      - optional widget to display as sub-node

  setData(data, hideRoot=False)

    data should be a dictionary.