code: def on_key_press(self, symbol, modifiers):
      if symbol in self.keymap:
          self.action[self.keymap[symbol]] = True
  
file_path: sympy/sympy/plotting/pygletplot/plot_controller.py
imports: from pyglet.window import key
  from pyglet.window.mouse import LEFT, RIGHT, MIDDLE
  from sympy.plotting.pygletplot.util import get_direction_vectors, get_basis_vectors
label_desc: Use image node_id 5 for calling the PlotController obj's underlying member method code with example usage: obj.on_key_press(symbol, modifiers) without return types