diff options
Diffstat (limited to 'examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_InvertedPendulumBulletEnv_v0_2017may.py')
-rw-r--r-- | examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_InvertedPendulumBulletEnv_v0_2017may.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_InvertedPendulumBulletEnv_v0_2017may.py b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_InvertedPendulumBulletEnv_v0_2017may.py index e4e84dd93..82ed97329 100644 --- a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_InvertedPendulumBulletEnv_v0_2017may.py +++ b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_InvertedPendulumBulletEnv_v0_2017may.py @@ -48,7 +48,7 @@ def main(): obs, r, done, _ = env.step(a) score += r frame += 1 - still_open = env.render("human") + still_open = env.render(mode="human") if still_open == False: return if not done: continue |