Skip to content

Commit

Permalink
deploy: f24a3a8
Browse files Browse the repository at this point in the history
  • Loading branch information
anacmontoya committed Jun 7, 2024
1 parent da240e1 commit a6c0374
Show file tree
Hide file tree
Showing 22 changed files with 785 additions and 788 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.
6 changes: 3 additions & 3 deletions _preview/476/_sources/foundations/github/git-branches.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ touch hello.py

```{admonition} Note
:class: info
`touch` is not a Windows native command. You can use `type nul > file-name.py` to create an empty file instead.
`touch` is not a Windows native command. You can use `type nul > hello.py` to create an empty file instead.
```

![Git Status](../../images/6-samplechange.png)
Expand Down Expand Up @@ -288,9 +288,9 @@ All in all your Git Branching workflow should resemble this flow:
1. Add and commit changes in branch
1. Push commits to fork (Set an upstream branch only for first push)
1. Repeat last three steps as necessary
1. Merge via Pull Request
1. Merge into upstream main branch via Pull Request
1. Delete branch from clone and fork
1. Pull upstream changes to fork and clone
1. Pull upstream changes to main branch of fork and clone

---

Expand Down
4 changes: 2 additions & 2 deletions _preview/476/appendix/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,8 @@ <h5>of further and further<a class="headerlink" href="#of-further-and-further" t
<section id="header-levels">
<h6>header levels<a class="headerlink" href="#header-levels" title="Link to this heading"><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-725a45e5-d31a-4174-9667-d75021c60567">
<span class="eqno">(1)<a class="headerlink" href="#equation-725a45e5-d31a-4174-9667-d75021c60567" title="Permalink to this equation"><i class="fas fa-link"></i></a></span>\[\begin{align}
<div class="amsmath math notranslate nohighlight" id="equation-2d25073e-2209-482f-b27c-d756b8c64bc2">
<span class="eqno">(1)<a class="headerlink" href="#equation-2d25073e-2209-482f-b27c-d756b8c64bc2" 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 _preview/476/core/cartopy/cartopy.html
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,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 0x7f5c35593620&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;cartopy.mpl.feature_artist.FeatureArtist at 0x7fdeb49a2210&gt;
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -607,7 +607,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 0x7f5c355baa80&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;cartopy.mpl.feature_artist.FeatureArtist at 0x7fdeb41b3f80&gt;
</pre></div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions _preview/476/core/data-formats/netcdf-cf.html
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ <h2>Gridded Data<a class="headerlink" href="#gridded-data" title="Link to this h
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2526/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_2563/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 @@ -614,7 +614,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_2526/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_2563/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 @@ -655,7 +655,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: 2024-06-07 16:24:56.272755 Python
history: 2024-06-07 18:56:16.219711 Python
references:
comment:
dimensions(sizes): forecast_time(0), x(101), y(67), pressure(7)
Expand Down
18 changes: 9 additions & 9 deletions _preview/476/core/datetime/datetime.html
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,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>1717777497.4624403
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>1717786577.3645349
</pre></div>
</div>
</div>
Expand All @@ -618,7 +618,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.0002226829528809 seconds
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The benchmark took 1.0002117156982422 seconds
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -819,8 +819,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 2024-06-07 16:24:58.501617.
I am time zone aware 2024-06-07 16:24:58.501644+00:00.
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>I am time zone naive 2024-06-07 18:56:18.402856.
I am time zone aware 2024-06-07 18:56:18.402888+00:00.
</pre></div>
</div>
</div>
Expand All @@ -843,8 +843,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: 2024-06-07 16:24:58.505894.
I am time zone aware: 2024-06-07 10:24:58.516830-06:00.
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>I am time zone naive: 2024-06-07 18:56:18.406907.
I am time zone aware: 2024-06-07 12:56:18.417605-06:00.
</pre></div>
</div>
</div>
Expand All @@ -866,11 +866,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 June 07, 2024, 4:24PM.
The &#39;US/Mountain&#39; time is June 07, 2024, 10:24AM.
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The UTC time is June 07, 2024, 6:56PM.
The &#39;US/Mountain&#39; time is June 07, 2024, 12:56PM.
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2551/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_2584/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 _preview/476/core/matplotlib/annotations-colorbars-layouts.html
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ <h2>Basic Colorbars<a class="headerlink" href="#basic-colorbars" title="Link to
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/ec3e207b5fc88604d1d4e8519254db2bb901a610e51a1074d836d9e4a624a5cf.png" src="../../_images/ec3e207b5fc88604d1d4e8519254db2bb901a610e51a1074d836d9e4a624a5cf.png" />
<img alt="../../_images/942ac0095f8b82babf3e77319ecbc988952a50a5ed9692f404ba0906146b48cb.png" src="../../_images/942ac0095f8b82babf3e77319ecbc988952a50a5ed9692f404ba0906146b48cb.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 @@ -749,7 +749,7 @@ <h2>Basic Colorbars<a class="headerlink" href="#basic-colorbars" title="Link to
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/d638b3b5cccd64cd50463b717ba3d846578e06bd6da99563e5dd60be38e51fc7.png" src="../../_images/d638b3b5cccd64cd50463b717ba3d846578e06bd6da99563e5dd60be38e51fc7.png" />
<img alt="../../_images/0e28005397cfc604b9e543fba8ab71e6a68153d94aab4e05176bf0f3e1953ef9.png" src="../../_images/0e28005397cfc604b9e543fba8ab71e6a68153d94aab4e05176bf0f3e1953ef9.png" />
</div>
</div>
</section>
Expand All @@ -768,10 +768,10 @@ <h2>Shared Colorbars<a class="headerlink" href="#shared-colorbars" title="Link t
</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 0x7fa9e042c980&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.colorbar.Colorbar at 0x7f3d94e17260&gt;
</pre></div>
</div>
<img alt="../../_images/b213e8e40faef502eb1a91ddde00d271bc0be15ea247e7a539a496b66861a9f4.png" src="../../_images/b213e8e40faef502eb1a91ddde00d271bc0be15ea247e7a539a496b66861a9f4.png" />
<img alt="../../_images/aec322382bcfe90435e797377498d60f7cfb0f9bed0dcf2863eb6e70c7f05982.png" src="../../_images/aec322382bcfe90435e797377498d60f7cfb0f9bed0dcf2863eb6e70c7f05982.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 @@ -852,7 +852,7 @@ <h2>Custom Colorbars<a class="headerlink" href="#custom-colorbars" title="Link t
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/6fdf14cf8dca37a91d54b016c0f1d07cf69a9e17d0c28d72fed0afecae68937e.png" src="../../_images/6fdf14cf8dca37a91d54b016c0f1d07cf69a9e17d0c28d72fed0afecae68937e.png" />
<img alt="../../_images/9a2ae5eba8341e4fd7455a5263548ce2f3a35d292d6e8b05ca9c9b949c5fa938.png" src="../../_images/9a2ae5eba8341e4fd7455a5263548ce2f3a35d292d6e8b05ca9c9b949c5fa938.png" />
</div>
</div>
<div class="cell docutils container">
Expand All @@ -869,7 +869,7 @@ <h2>Custom Colorbars<a class="headerlink" href="#custom-colorbars" title="Link t
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/b1c773147b4f77979f5a72de3cf5a2ec6a96af8ba3661108dc8bbe1925b109c7.png" src="../../_images/b1c773147b4f77979f5a72de3cf5a2ec6a96af8ba3661108dc8bbe1925b109c7.png" />
<img alt="../../_images/3fb086befe230cb7a32195aa363d4cd5ecd2fc7f5ab2c61af0eb6385ce7e50c1.png" src="../../_images/3fb086befe230cb7a32195aa363d4cd5ecd2fc7f5ab2c61af0eb6385ce7e50c1.png" />
</div>
</div>
<section id="the-normalize-class">
Expand Down Expand Up @@ -906,7 +906,7 @@ <h2>Mosaic Subplots<a class="headerlink" href="#mosaic-subplots" title="Link to
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/1e70ae08f5c1f9e10cbd4ae9216335139389f3efc3cd9bf03528162e7fc0f4f0.png" src="../../_images/1e70ae08f5c1f9e10cbd4ae9216335139389f3efc3cd9bf03528162e7fc0f4f0.png" />
<img alt="../../_images/303d5686426127881b6aa17ea60265629075d9a496d23fde1399528667db7a46.png" src="../../_images/303d5686426127881b6aa17ea60265629075d9a496d23fde1399528667db7a46.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 @@ -934,7 +934,7 @@ <h2>Mosaic Subplots<a class="headerlink" href="#mosaic-subplots" title="Link to
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/1a50bdc8d0c3197a31b4e6d425e7fe7d8452927d2c3287ece3fa753344e8b72f.png" src="../../_images/1a50bdc8d0c3197a31b4e6d425e7fe7d8452927d2c3287ece3fa753344e8b72f.png" />
<img alt="../../_images/dd23c8fea502323a864e2406e1db05f2b9a3d3e794d5356409b8d6e264b26fd4.png" src="../../_images/dd23c8fea502323a864e2406e1db05f2b9a3d3e794d5356409b8d6e264b26fd4.png" />
</div>
</div>
</section>
Expand Down
Loading

0 comments on commit a6c0374

Please sign in to comment.