class_docstr: Superclass for MuJoCo environments.
class_docstr_tok: ["Superclass","for","MuJoCo","environments","."]
code: def _initialize_simulation(self):
      self.model = mujoco.MjModel.from_xml_path(self.fullpath)
      # MjrContext will copy model.vis.global_.off* to con.off*
      self.model.vis.global_.offwidth = self.width
      self.model.vis.global_.offheight = self.height
      self.data = mujoco.MjData(self.model)
  
imports: from os import path
  from typing import Optional, Union
  import numpy
  import gym
  from gym import error, logger, spaces
  from gym.spaces import Space
label_desc: Use image node_id 2 for calling the MujocoEnv obj's underlying member method code with example usage: obj._initialize_simulation() without return types