class_docstr: Visualizes a policy in an environment.
class_docstr_tok: ["Visualizes","a","policy","in","an","environment","."]
docstr: Stop the plotter.
docstr_tok: ["Stop","the","plotter","."]
code: def close(self):
      """Stop the plotter."""
      if not Plotter.enable:
          return
      if self._process and self._process.is_alive():
          while not self._queue.empty():
              self._queue.get()
              self._queue.task_done()
          self._queue.put(Message(op=Op.STOP, args=None, kwargs=None))
          self._queue.close()
          self._process.join()
  
file_path: garage/src/garage/plotter/plotter.py
imports: import atexit
  from collections import namedtuple
  from enum import Enum
  from multiprocessing import JoinableQueue, Process
  import platform
  from threading import Thread
  import numpy
  from garage import rollout
label_desc: Use image node_id 3 for calling the Plotter obj's underlying member method code with example usage: obj.close() without return types