code: def on_resize(self, event):
      self.apply_zoom()
  
file_path: vispy/examples/demo/gloo/atom.py
imports: import numpy
  from vispy import gloo
  from vispy import app
  from vispy.util.transforms import perspective, translate, rotate
label_desc: Use image node_id 4 for calling the Canvas obj's underlying member method code with example usage: obj.on_resize(event) without return types