class_docstr: A pyglet window with an event loop which executes automatically
  in a separate thread. Behavior is added by creating a subclass
  which overrides setup, update, and/or draw.
class_docstr_tok: ["A","pyglet","window","with","an","event","loop","which","executes","automatically","in","a","separate","thread",".","Behavior","is","added","by","creating","a","subclass","which","overrides","setup",",","update",",","and\/or","draw","."]
docstr: Closes the window.
docstr_tok: ["Closes","the","window","."]
code: def close(self):
      """
      Closes the window.
      """
      self.has_exit = True
  
file_path: sympy/sympy/plotting/pygletplot/managed_window.py
imports: from pyglet.window import Window
  from pyglet.clock import Clock
  from threading import Thread, Lock
label_desc: Use image node_id 3 for calling the ManagedWindow obj's underlying member method code with example usage: obj.close() without return types