code: def plotClicked(curve):
      global curves
      for i, c in enumerate(curves):
          if c is curve:
              c.setPen("rgb"[i], width=3)
          else:
              c.setPen("rgb"[i], width=1)
  
label_desc: Use image node_id 1 for calling a global function with example usage: plotClicked(curve) without return types