code: def activate_zoom(self):
      gloo.set_viewport(0, 0, *self.physical_size)
      projection = perspective(
          45.0, self.size[0] / float(self.size[1]), 2.0, 10.0
      )
      self.program["projection"] = projection
  
file_path: vispy/examples/gloo/colored_cube.py
imports: import numpy
  from vispy import app, gloo
  from vispy.gloo import Program, VertexBuffer, IndexBuffer
  from vispy.util.transforms import perspective, translate, rotate
  from vispy.geometry import create_cube
label_desc: Use image node_id 4 for calling the Canvas obj's underlying member method code with example usage: obj.activate_zoom() without return types