Update gym_compatibility.md to fix broken example (#430)

This commit is contained in:
Elliot Tower
2023-04-05 10:10:12 -04:00
committed by GitHub
parent 0787b0dfcd
commit db989c08a1

View File

@@ -44,7 +44,7 @@ Additionally, in Gymnasium we provide specialist environments for compatibility
```python
import gymnasium
env = gymnasium.make("GymV21Environment-v0", env_id="CartPole-v1", make_kwargs={"length": 1}, render_mode="human")
env = gymnasium.make("GymV21Environment-v0", env_id="CartPole-v1", render_mode="human")
# or
env = gymnasium.make("GymV21Environment-v0", env=OldV21Env())