code: def _handle_key(self, event):
      key = _handle_key(event["key"])
      e_type = event["type"]
      guiEvent = event.get("guiEvent", None)
      if e_type == "key_press":
          self.key_press_event(key, guiEvent=guiEvent)
      elif e_type == "key_release":
          self.key_release_event(key, guiEvent=guiEvent)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import datetime
  import io
  import json
  import os
  import warnings
  import numpy
  import tornado
  from matplotlib.backends import backend_agg
  from matplotlib.backend_bases import _Backend
  from matplotlib import backend_bases
  from matplotlib import _png
label_desc: Use image node_id 13 for calling the FigureCanvasWebAggCore obj's underlying member method code with example usage: obj._handle_key(event) without return types