Skip to content

Commit 964106a

Browse files
Deploying to gh-pages from @ c062c12 🚀
1 parent 49b67f1 commit 964106a

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

Diff for: main/.buildinfo

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: c5899d6b1534a5ce412aa43c5b96af12
3+
config: d4453bd47831176cef9619f964df8f68
44
tags: d77d1c0d9ca2f4c8421862c7c5a0d620
Binary file not shown.
Binary file not shown.

Diff for: main/introduction/basic_usage/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ <h2>Interacting with the Environment<a class="headerlink" href="#interacting-wit
393393
</a>
394394
<a class="only-dark reference internal image-reference" href="../../_images/AE_loop_dark.png"><img alt="../../_images/AE_loop_dark.png" class="only-dark align-center" src="../../_images/AE_loop_dark.png" style="width: 50%;" />
395395
</a>
396-
<p>For Gymnasium, the “agent-environment-loop” is implemented below for a single episode (until the environment ends). See the next section for a line-by-line explanation. Note that running this code requires installing swig (<code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">swig</span></code> or <a class="reference external" href="https://www.swig.org/download.html">download</a>) along with <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">&quot;gymnasium[box2d]&quot;</span></code>.</p>
396+
<p>For Gymnasium, the “agent-environment-loop” is implemented below for a single episode (until the environment ends). See the next section for a line-by-line explanation. Note that running this code requires installing swig (<code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">swig</span></code>, <a class="reference external" href="https://www.swig.org/download.html">download</a>, or via <a class="reference external" href="https://formulae.brew.sh/formula/swig">Homebrew</a> if you are using macOS) along with <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">&quot;gymnasium[box2d]&quot;</span></code>.</p>
397397
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">gymnasium</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="nn">gym</span>
398398

399399
<span class="n">env</span> <span class="o">=</span> <span class="n">gym</span><span class="o">.</span><span class="n">make</span><span class="p">(</span><span class="s2">&quot;LunarLander-v3&quot;</span><span class="p">,</span> <span class="n">render_mode</span><span class="o">=</span><span class="s2">&quot;human&quot;</span><span class="p">)</span>

Diff for: main/searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)