code: def on_key_press(self, event):
      if event.key == "R":
          self._pz.zoom = (1.0, 1.0)
          self._pz.pan = (0.0, 0.0)
          self.update()
  
imports: import numpy
  import math
  from vispy import gloo, app, scene
  from vispy.visuals import Visual
  from vispy.visuals.shaders import Function, Variable
  from vispy.visuals.transforms import TransformSystem, BaseTransform
  from vispy.util.profiler import Profiler
label_desc: Use image node_id 7 for calling the PanZoomCanvas obj's underlying member method code with example usage: obj.on_key_press(event) without return types