code: def update_bounds(self):
      self._center = [
          0.5 * (self.parent.bounds(0)[1] + self.parent.bounds(0)[0]),
          0.5 * (self.parent.bounds(1)[1] + self.parent.bounds(1)[0]),
      ]
      self._width = self.parent.bounds(0)[1] - self.parent.bounds(0)[0]
      self._height = self.parent.bounds(1)[1] - self.parent.bounds(1)[0]
      self.update_points()
  
imports: import numpy
  from vispy import app, scene
  from vispy.color import Color
label_desc: Use image node_id 2 for calling the ControlPoints obj's underlying member method code with example usage: obj.update_bounds() without return types