code: def on_resize(self, w, h):
      super().on_resize(w, h)
      if self.camera is not None:
          self.camera.setup_projection()
  
file_path: sympy/sympy/plotting/pygletplot/plot_window.py
imports: from time import perf_counter
  import pyglet.gl
  from sympy.plotting.pygletplot.managed_window import ManagedWindow
  from sympy.plotting.pygletplot.plot_camera import PlotCamera
  from sympy.plotting.pygletplot.plot_controller import PlotController
label_desc: Use image node_id 3 for calling the PlotWindow obj's underlying member method code with example usage: obj.on_resize(w, h) without return types