code: def set_center(self, val):
      self.control_points.set_center(val[0:2])
      self.rect.center = val[0:2]
  
imports: import numpy
  from vispy import app, scene
  from vispy.color import Color
label_desc: Use image node_id 2 for calling the EditRectVisual obj's underlying member method code with example usage: obj.set_center(val) without return types