class_docstr: wxPython backend for Canvas abstract class.
class_docstr_tok: ["wxPython","backend","for","Canvas","abstract","class","."]
code: def _vispy_close(self):
      if self._vispy_canvas is None:
          return
      # Force the window or widget to shut down
      canvas = self
      frame = self._frame
      self._gl_context = None  # let RC destroy this in case it's shared
      canvas.Close()
      canvas.Destroy()
      if frame:
          frame.Close()
          frame.Destroy()
      gc.collect()
  
imports: from __future__ import division
  from time import sleep
  import gc
  import warnings
  from ..base import BaseApplicationBackend, BaseCanvasBackend, BaseTimerBackend
  from ...util import keys, logger
  from ...util.ptime import time
  from ...None import config
label_desc: Use image node_id 15 for calling the CanvasBackend obj's underlying member method code with example usage: obj._vispy_close() without return types