code: def on_resize(self, event):
      set_viewport(0, 0, *self.physical_size)
  
file_path: vispy/examples/demo/gloo/grayscott.py
imports: from __future__ import division
  import numpy
  from vispy.gloo import Program, FrameBuffer, RenderBuffer, set_viewport, clear, set_state
  from vispy import app
label_desc: Use image node_id 3 for calling the Canvas obj's underlying member method code with example usage: obj.on_resize(event) without return types