Skip to content

Commit

Permalink
Add 'import minigrid' to example in docs/index.md. (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosgmartin authored Dec 16, 2024
1 parent 4f8b75f commit e1560ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The Gymnasium interface allows to initialize and interact with the Minigrid defa
```{code-block} python
import gymnasium as gym
import minigrid
env = gym.make("MiniGrid-Empty-5x5-v0", render_mode="human")
observation, info = env.reset(seed=42)
for _ in range(1000):
Expand Down

0 comments on commit e1560ba

Please sign in to comment.