code: def load():
      global state
      area.restoreState(state)
  
file_path: pyqtgraph/pyqtgraph/examples/dockarea.py
imports: import numpy
  import pyqtgraph
  from pyqtgraph.console import ConsoleWidget
  from pyqtgraph.dockarea.Dock import Dock
  from pyqtgraph.dockarea.DockArea import DockArea
  from pyqtgraph.Qt import QtWidgets
label_desc: Use image node_id 2 for calling a global function with example usage: load() without return types