class_docstr: Visualizes a policy in an environment.
class_docstr_tok: ["Visualizes","a","policy","in","an","environment","."]
code: def _init_worker(self):
      if not Plotter.enable:
          return
      self._queue = JoinableQueue()
      if "Darwin" in platform.platform():
          self._process = Thread(target=self._worker_start)
      else:
          self._process = Process(target=self._worker_start)
      self._process.daemon = True
      self._process.start()
      atexit.register(self.close)
  
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 6 for calling the Plotter obj's underlying member method code with example usage: obj._init_worker() without return types