Skip to content

Commit

Permalink
deploy: 71d8b8b
Browse files Browse the repository at this point in the history
  • Loading branch information
dopplershift committed Nov 6, 2023
1 parent c6d8d6c commit 6dd8c49
Show file tree
Hide file tree
Showing 20 changed files with 894 additions and 963 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions appendix/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -895,8 +895,8 @@ <h5>of further and further<a class="headerlink" href="#of-further-and-further" t
<div class="section" id="header-levels">
<h6>header levels<a class="headerlink" href="#header-levels" title="Permalink to this headline"><i class="fas fa-link"></i></a></h6>
<p>Each section in your notebook can also contain <span class="math notranslate nohighlight">\(\LaTeX\)</span> equations, enabled through MathJax. In the following example, we illustrate some sample MathJax equations. (Rendering instructions, as well as detailed information about MathJax, can be found in <a class="reference external" href="https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Typesetting%20Equations.html">this documentation</a>.)</p>
<div class="amsmath math notranslate nohighlight" id="equation-3dbb8243-78c6-4b25-bb05-049bae903708">
<span class="eqno">(1)<a class="headerlink" href="#equation-3dbb8243-78c6-4b25-bb05-049bae903708" title="Permalink to this equation"><i class="fas fa-link"></i></a></span>\[\begin{align}
<div class="amsmath math notranslate nohighlight" id="equation-c7109f56-1438-4898-9f4c-ef8c36938673">
<span class="eqno">(1)<a class="headerlink" href="#equation-c7109f56-1438-4898-9f4c-ef8c36938673" title="Permalink to this equation"><i class="fas fa-link"></i></a></span>\[\begin{align}
\dot{x} &amp; = \sigma(y-x) \\
\dot{y} &amp; = \rho x - y - xz \\
\dot{z} &amp; = -\beta z + xy
Expand Down
4 changes: 2 additions & 2 deletions core/cartopy/cartopy.html
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ <h3>Create a map with a specified projection<a class="headerlink" href="#create-
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;cartopy.mpl.feature_artist.FeatureArtist at 0x7f453a4e66c0&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;cartopy.mpl.feature_artist.FeatureArtist at 0x7f87f68cb110&gt;
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -924,7 +924,7 @@ <h3>Add cartographic features to the map<a class="headerlink" href="#add-cartogr
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;cartopy.mpl.feature_artist.FeatureArtist at 0x7f451434fc20&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;cartopy.mpl.feature_artist.FeatureArtist at 0x7f87d478abd0&gt;
</pre></div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions core/data-formats/netcdf-cf.html
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ <h2>Gridded Data<a class="headerlink" href="#gridded-data" title="Permalink to t
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2425/2342439358.py:1: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2403/2342439358.py:1: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
start = datetime.utcnow().replace(hour=22, minute=0, second=0, microsecond=0)
</pre></div>
</div>
Expand Down Expand Up @@ -882,7 +882,7 @@ <h3>Creating the file and dimensions<a class="headerlink" href="#creating-the-fi
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2425/2008125275.py:5: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2403/2008125275.py:5: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
nc.history = str(datetime.utcnow()) + &#39; Python&#39;
</pre></div>
</div>
Expand Down Expand Up @@ -923,7 +923,7 @@ <h3>Creating the file and dimensions<a class="headerlink" href="#creating-the-fi
title: Forecast model run
institution: Unidata
source: WRF-1.5
history: 2023-11-06 17:01:29.973710 Python
history: 2023-11-06 22:13:57.958026 Python
references:
comment:
dimensions(sizes): forecast_time(0), x(101), y(67), pressure(7)
Expand Down
18 changes: 9 additions & 9 deletions core/datetime/datetime.html
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ <h3>Some core terminology<a class="headerlink" href="#some-core-terminology" tit
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>1699290091.5795426
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>1699308839.244617
</pre></div>
</div>
</div>
Expand All @@ -976,7 +976,7 @@ <h3><code class="docutils literal notranslate"><span class="pre">time</span></co
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The benchmark took 1.0002496242523193 seconds
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The benchmark took 1.0003166198730469 seconds
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -1177,8 +1177,8 @@ <h3>Time Zone Naive Versus Time Zone Aware <code class="docutils literal notrans
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>I am time zone naive 2023-11-06 17:01:32.640107.
I am time zone aware 2023-11-06 17:01:32.640148+00:00.
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>I am time zone naive 2023-11-06 22:14:00.290199.
I am time zone aware 2023-11-06 22:14:00.290234+00:00.
</pre></div>
</div>
</div>
Expand All @@ -1201,8 +1201,8 @@ <h3>Full time zone support with the <code class="docutils literal notranslate"><
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>I am time zone naive: 2023-11-06 17:01:32.645652.
I am time zone aware: 2023-11-06 10:01:32.659094-07:00.
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>I am time zone naive: 2023-11-06 22:14:00.295403.
I am time zone aware: 2023-11-06 15:14:00.306975-07:00.
</pre></div>
</div>
</div>
Expand All @@ -1224,11 +1224,11 @@ <h3>Print Time with a Different Time Zone<a class="headerlink" href="#print-time
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The UTC time is November 06, 2023, 5:01PM.
The &#39;US/Mountain&#39; time is November 06, 2023, 10:01AM.
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The UTC time is November 06, 2023, 10:14PM.
The &#39;US/Mountain&#39; time is November 06, 2023, 3:14PM.
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2446/3080495102.py:1: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2422/3080495102.py:1: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
utc = dt.datetime.utcnow().replace(tzinfo=pytz.utc)
</pre></div>
</div>
Expand Down
16 changes: 8 additions & 8 deletions core/matplotlib/annotations-colorbars-layouts.html
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ <h2>Basic Colorbars<a class="headerlink" href="#basic-colorbars" title="Permalin
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/c9d6872e8ffb11ffa2f71731d20caabacc46ed7fcc4466cd069acad1995c3bb6.png" src="../../_images/c9d6872e8ffb11ffa2f71731d20caabacc46ed7fcc4466cd069acad1995c3bb6.png" />
<img alt="../../_images/da85c8b71bb97d93e79cd4d8ed74ec11657c1570180b9af1ada576b7c4824db6.png" src="../../_images/da85c8b71bb97d93e79cd4d8ed74ec11657c1570180b9af1ada576b7c4824db6.png" />
</div>
</div>
<p>We can change which colormap to use by setting the keyword argument <code class="docutils literal notranslate"><span class="pre">cmap</span> <span class="pre">=</span> <span class="pre">'colormap_name'</span></code> in the plotting function call. This sets the colormap not only for the plot, but for the colorbar as well. In this case, we use the <code class="docutils literal notranslate"><span class="pre">magma</span></code> colormap:</p>
Expand All @@ -1023,7 +1023,7 @@ <h2>Basic Colorbars<a class="headerlink" href="#basic-colorbars" title="Permalin
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/a2ee143099f87356d27b23dfa51ab61e4dbc5f84421f40953d8d3c299ab035a0.png" src="../../_images/a2ee143099f87356d27b23dfa51ab61e4dbc5f84421f40953d8d3c299ab035a0.png" />
<img alt="../../_images/877a4cce00d249535e89b313f00a16f8b220556ad4a92285b4274396ab6d4fc4.png" src="../../_images/877a4cce00d249535e89b313f00a16f8b220556ad4a92285b4274396ab6d4fc4.png" />
</div>
</div>
</div>
Expand All @@ -1042,10 +1042,10 @@ <h2>Shared Colorbars<a class="headerlink" href="#shared-colorbars" title="Permal
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.colorbar.Colorbar at 0x7f9214858aa0&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.colorbar.Colorbar at 0x7f4f19c30980&gt;
</pre></div>
</div>
<img alt="../../_images/7b92d31955348e3fd67bf8bd24b593d83acbcb58828769de1dce54bffeb7d212.png" src="../../_images/7b92d31955348e3fd67bf8bd24b593d83acbcb58828769de1dce54bffeb7d212.png" />
<img alt="../../_images/0e8d93a88332cf78cf49c6884016be08a7377954379c1655107442028d4fe582.png" src="../../_images/0e8d93a88332cf78cf49c6884016be08a7377954379c1655107442028d4fe582.png" />
</div>
</div>
<p>You may be wondering why the call to <code class="docutils literal notranslate"><span class="pre">fig.colorbar</span></code> uses the argument <code class="docutils literal notranslate"><span class="pre">hist1[3]</span></code>. The explanation is as follows: <code class="docutils literal notranslate"><span class="pre">hist1</span></code> is a tuple returned by <code class="docutils literal notranslate"><span class="pre">hist2d</span></code>, and <code class="docutils literal notranslate"><span class="pre">hist1[3]</span></code> contains a <code class="docutils literal notranslate"><span class="pre">matplotlib.collections.QuadMesh</span></code> that points to the colormap for the first histogram. To make sure that both histograms are using the same colormap with the same range of values, <code class="docutils literal notranslate"><span class="pre">vmax</span></code> is set to 0.18 for both plots. This ensures that both histograms are using colormaps that represent values from 0 (the default for histograms) to 0.18. Because the same data values are used for both plots, it doesn’t matter whether we pass in <code class="docutils literal notranslate"><span class="pre">hist1[3]</span></code> or <code class="docutils literal notranslate"><span class="pre">hist2[3]</span></code> to <code class="docutils literal notranslate"><span class="pre">fig.colorbar</span></code>.
Expand Down Expand Up @@ -1126,7 +1126,7 @@ <h2>Custom Colorbars<a class="headerlink" href="#custom-colorbars" title="Permal
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/bc322ea105481dd7577e286e8420a6df2c11dcb3dba81d89e31ec58c8e603119.png" src="../../_images/bc322ea105481dd7577e286e8420a6df2c11dcb3dba81d89e31ec58c8e603119.png" />
<img alt="../../_images/ddd2265204bbb970bb1fe132fd8e103835397e8da53988aafe7eafca5dbe3b6f.png" src="../../_images/ddd2265204bbb970bb1fe132fd8e103835397e8da53988aafe7eafca5dbe3b6f.png" />
</div>
</div>
<div class="cell docutils container">
Expand All @@ -1143,7 +1143,7 @@ <h2>Custom Colorbars<a class="headerlink" href="#custom-colorbars" title="Permal
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/645a81af5b832fc7daffd60b78a54a800336e26d534cc5d780e6fb892ec5f241.png" src="../../_images/645a81af5b832fc7daffd60b78a54a800336e26d534cc5d780e6fb892ec5f241.png" />
<img alt="../../_images/b42222872fed7cd79d5e07691d68e80747518159a19daacbb5cb60e1192aa6b3.png" src="../../_images/b42222872fed7cd79d5e07691d68e80747518159a19daacbb5cb60e1192aa6b3.png" />
</div>
</div>
<div class="section" id="the-normalize-class">
Expand Down Expand Up @@ -1180,7 +1180,7 @@ <h2>Mosaic Subplots<a class="headerlink" href="#mosaic-subplots" title="Permalin
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/0d51f590a31edc0ba0704dc4b934aaad50bbd30a813df20dd09347d1d2e452d3.png" src="../../_images/0d51f590a31edc0ba0704dc4b934aaad50bbd30a813df20dd09347d1d2e452d3.png" />
<img alt="../../_images/47f0b043e32ad87b6069c80b1951061cb7f7c69d41d1fccc0dfe302df371bc26.png" src="../../_images/47f0b043e32ad87b6069c80b1951061cb7f7c69d41d1fccc0dfe302df371bc26.png" />
</div>
</div>
<p>You’ll notice there is not a colorbar plotted by default. When constructing the colorbar, we need to specify the following:</p>
Expand Down Expand Up @@ -1208,7 +1208,7 @@ <h2>Mosaic Subplots<a class="headerlink" href="#mosaic-subplots" title="Permalin
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/e185e921716bf41c4e9d5c8cb54e9d0661c8b14914a61e43266d495c6fb77ada.png" src="../../_images/e185e921716bf41c4e9d5c8cb54e9d0661c8b14914a61e43266d495c6fb77ada.png" />
<img alt="../../_images/ce5ed5b2b64de7ce6c9dc036bcd83766bb500269c883b43043d209de82e06438.png" src="../../_images/ce5ed5b2b64de7ce6c9dc036bcd83766bb500269c883b43043d209de82e06438.png" />
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit 6dd8c49

Please sign in to comment.