class_docstr: Binding for `dm_control <https://arxiv.org/pdf/1801.00690.pdf>`.
docstr: Creates a visualization of the environment.
docstr_tok: ["Creates","a","visualization","of","the","environment","."]
code: def visualize(self):
      """Creates a visualization of the environment."""
      if not self._viewer:
          title = "dm_control {}".format(self._name)
          self._viewer = DmControlViewer(title=title)
          self._viewer.launch(self._env)
  
imports: import akro
  from dm_control import suite
  from dm_control.rl.control import flatten_observation
  from dm_env import StepType
  import numpy
  from garage import Environment, EnvSpec, EnvStep, StepType
  from garage.envs.dm_control.dm_control_viewer import DmControlViewer
label_desc: Use image node_id 10 for calling the DMControlEnv obj's underlying member method code with example usage: obj.visualize() without return types