code: def updateViews():
      ## view has resized; update auxiliary views to match
      global p1, p2, p3
      p2.setGeometry(p1.vb.sceneBoundingRect())
      p3.setGeometry(p1.vb.sceneBoundingRect())
  
      ## need to re-update linked axes since this was called
      ## incorrectly while views had different shapes.
      ## (probably this should be handled in ViewBox.resizeEvent)
      p2.linkedViewChanged(p1.vb, p2.XAxis)
      p3.linkedViewChanged(p1.vb, p3.XAxis)
  
label_desc: Use image node_id 1 for calling a global function with example usage: updateViews() without return types