From e1560ba8e3be644dc4454aa485355c005f1e4602 Mon Sep 17 00:00:00 2001 From: Carlos Martin Date: Mon, 16 Dec 2024 10:29:58 -0800 Subject: [PATCH] Add 'import minigrid' to example in docs/index.md. (#458) --- docs/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/index.md b/docs/index.md index 95a9e1a72..9e40b8d08 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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):