Skip to content

Commit 07a5e68

Browse files
committed
deploy: 5d60f97
1 parent d8f0e8a commit 07a5e68

23 files changed

+178
-178
lines changed

.doctrees/environment.pickle

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

.doctrees/sg_execution_times.doctree

0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

_modules/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<link href="../_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3030
<link href="../_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3131

32-
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
32+
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=03e43079" />
3333
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery.css?v=d2d258e8" />
3434
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-binder.css?v=f4aeca0c" />
3535
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-dataframe.css?v=2082cf3c" />

_modules/numba_celltree/celltree.html

Lines changed: 26 additions & 26 deletions
Large diffs are not rendered by default.

_sources/examples/sg_execution_times.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Computation times
88
=================
9-
**00:00.768** total execution time for 1 file **from examples**:
9+
**00:00.775** total execution time for 1 file **from examples**:
1010

1111
.. container::
1212

@@ -33,5 +33,5 @@ Computation times
3333
- Time
3434
- Mem (MB)
3535
* - :ref:`sphx_glr_examples_spatial_indexing.py` (``spatial_indexing.py``)
36-
- 00:00.768
36+
- 00:00.775
3737
- 0.0

_sources/examples/spatial_indexing.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ with the Euclidian norm (Pythagorean distance):
679679

680680
.. rst-class:: sphx-glr-timing
681681

682-
**Total running time of the script:** (0 minutes 0.768 seconds)
682+
**Total running time of the script:** (0 minutes 0.775 seconds)
683683

684684

685685
.. _sphx_glr_download_examples_spatial_indexing.py:

_sources/sg_execution_times.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Computation times
88
=================
9-
**00:00.768** total execution time for 1 file **from all galleries**:
9+
**00:00.775** total execution time for 1 file **from all galleries**:
1010

1111
.. container::
1212

@@ -33,5 +33,5 @@ Computation times
3333
- Time
3434
- Mem (MB)
3535
* - :ref:`sphx_glr_examples_spatial_indexing.py` (``../examples/spatial_indexing.py``)
36-
- 00:00.768
36+
- 00:00.775
3737
- 0.0

_static/pygments.css

Lines changed: 121 additions & 121 deletions
Large diffs are not rendered by default.

api.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<link href="_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3131
<link href="_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3232

33-
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
33+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
3434
<link rel="stylesheet" type="text/css" href="_static/sg_gallery.css?v=d2d258e8" />
3535
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-binder.css?v=f4aeca0c" />
3636
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-dataframe.css?v=2082cf3c" />
@@ -566,8 +566,8 @@
566566
</dd>
567567
</dl>
568568
<p class="rubric">Examples</p>
569-
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="kn">import</span> <span class="nn">networkx</span>
570-
<span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">networkx.drawing.nx_pydot</span> <span class="kn">import</span> <span class="n">graphviz_layout</span>
569+
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="kn">import</span><span class="w"> </span><span class="nn">networkx</span>
570+
<span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span><span class="w"> </span><span class="nn">networkx.drawing.nx_pydot</span><span class="w"> </span><span class="kn">import</span> <span class="n">graphviz_layout</span>
571571
<span class="gp">&gt;&gt;&gt; </span><span class="n">d</span> <span class="o">=</span> <span class="n">celltree</span><span class="o">.</span><span class="n">to_dict_of_lists</span><span class="p">()</span>
572572
<span class="gp">&gt;&gt;&gt; </span><span class="n">G</span> <span class="o">=</span> <span class="n">networkx</span><span class="o">.</span><span class="n">DiGraph</span><span class="p">(</span><span class="n">d</span><span class="p">)</span>
573573
<span class="gp">&gt;&gt;&gt; </span><span class="n">positions</span> <span class="o">=</span> <span class="n">graphviz_layout</span><span class="p">(</span><span class="n">G</span><span class="p">,</span> <span class="n">prog</span><span class="o">=</span><span class="s2">&quot;dot&quot;</span><span class="p">)</span>

examples/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<link href="../_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3131
<link href="../_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3232

33-
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
33+
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=03e43079" />
3434
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery.css?v=d2d258e8" />
3535
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-binder.css?v=f4aeca0c" />
3636
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-dataframe.css?v=2082cf3c" />

examples/sg_execution_times.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<link href="../_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3131
<link href="../_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3232

33-
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
33+
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=03e43079" />
3434
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery.css?v=d2d258e8" />
3535
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-binder.css?v=f4aeca0c" />
3636
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-dataframe.css?v=2082cf3c" />
@@ -362,7 +362,7 @@
362362

363363
<section id="computation-times">
364364
<span id="sphx-glr-examples-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Link to this heading">#</a></h1>
365-
<p><strong>00:00.768</strong> total execution time for 1 file <strong>from examples</strong>:</p>
365+
<p><strong>00:00.775</strong> total execution time for 1 file <strong>from examples</strong>:</p>
366366
<div class="docutils container">
367367
<style scoped>
368368
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
@@ -384,7 +384,7 @@
384384
</thead>
385385
<tbody>
386386
<tr class="row-even"><td><p><a class="reference internal" href="spatial_indexing.html#sphx-glr-examples-spatial-indexing-py"><span class="std std-ref">Spatial indexing</span></a> (<code class="docutils literal notranslate"><span class="pre">spatial_indexing.py</span></code>)</p></td>
387-
<td><p>00:00.768</p></td>
387+
<td><p>00:00.775</p></td>
388388
<td><p>0.0</p></td>
389389
</tr>
390390
</tbody>

examples/spatial_indexing.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<link href="../_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3131
<link href="../_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3232

33-
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
33+
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=03e43079" />
3434
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery.css?v=d2d258e8" />
3535
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-binder.css?v=f4aeca0c" />
3636
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-dataframe.css?v=2082cf3c" />
@@ -401,14 +401,14 @@
401401
<p>This example provides an introduction to searching a cell tree for each of
402402
these.</p>
403403
<p>We’ll start by importing the required packages with matplotlib for plotting.</p>
404-
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">os</span>
404+
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">os</span>
405405

406-
<span class="kn">import</span> <span class="nn">matplotlib.pyplot</span> <span class="k">as</span> <span class="nn">plt</span>
407-
<span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
408-
<span class="kn">from</span> <span class="nn">matplotlib.collections</span> <span class="kn">import</span> <span class="n">LineCollection</span>
406+
<span class="kn">import</span><span class="w"> </span><span class="nn">matplotlib.pyplot</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="nn">plt</span>
407+
<span class="kn">import</span><span class="w"> </span><span class="nn">numpy</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="nn">np</span>
408+
<span class="kn">from</span><span class="w"> </span><span class="nn">matplotlib.collections</span><span class="w"> </span><span class="kn">import</span> <span class="n">LineCollection</span>
409409

410410
<span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NUMBA_DISABLE_JIT&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="s2">&quot;1&quot;</span> <span class="c1"># small examples, avoid JIT overhead</span>
411-
<span class="kn">from</span> <span class="nn">numba_celltree</span> <span class="kn">import</span> <span class="n">CellTree2d</span><span class="p">,</span> <span class="n">demo</span> <span class="c1"># noqa E402</span>
411+
<span class="kn">from</span><span class="w"> </span><span class="nn">numba_celltree</span><span class="w"> </span><span class="kn">import</span> <span class="n">CellTree2d</span><span class="p">,</span> <span class="n">demo</span> <span class="c1"># noqa E402</span>
412412
</pre></div>
413413
</div>
414414
<p>Let’s start with a rectangular mesh:</p>
@@ -652,7 +652,7 @@ <h2>Locating cells<a class="headerlink" href="#locating-cells" title="Link to th
652652
<img src="../_images/sphx_glr_spatial_indexing_009.png" srcset="../_images/sphx_glr_spatial_indexing_009.png" alt="spatial indexing" class = "sphx-glr-single-img"/><p>This weight matrix can be used for translating data from one mesh to another.
653653
Let’s generate some mock elevation data for a valley. Then, we’ll compute the
654654
area weighted mean for every raster cell.</p>
655-
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">saddle_elevation</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">y</span><span class="p">):</span>
655+
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="k">def</span><span class="w"> </span><span class="nf">saddle_elevation</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">y</span><span class="p">):</span>
656656
<span class="k">return</span> <span class="n">np</span><span class="o">.</span><span class="n">sin</span><span class="p">(</span><span class="mf">0.6</span> <span class="o">*</span> <span class="n">x</span> <span class="o">+</span> <span class="mi">2</span><span class="p">)</span> <span class="o">+</span> <span class="n">np</span><span class="o">.</span><span class="n">sin</span><span class="p">(</span><span class="mf">0.2</span> <span class="o">*</span> <span class="n">y</span><span class="p">)</span>
657657

658658

@@ -732,7 +732,7 @@ <h2>Locating lines<a class="headerlink" href="#locating-lines" title="Link to th
732732
<span class="n">demo</span><span class="o">.</span><span class="n">plot_edges</span><span class="p">(</span><span class="n">node_x</span><span class="p">,</span> <span class="n">node_y</span><span class="p">,</span> <span class="n">edges</span><span class="p">,</span> <span class="n">ax</span><span class="p">,</span> <span class="n">color</span><span class="o">=</span><span class="s2">&quot;black&quot;</span><span class="p">)</span>
733733
</pre></div>
734734
</div>
735-
<img src="../_images/sphx_glr_spatial_indexing_011.png" srcset="../_images/sphx_glr_spatial_indexing_011.png" alt="spatial indexing" class = "sphx-glr-single-img"/><p class="sphx-glr-timing"><strong>Total running time of the script:</strong> (0 minutes 0.768 seconds)</p>
735+
<img src="../_images/sphx_glr_spatial_indexing_011.png" srcset="../_images/sphx_glr_spatial_indexing_011.png" alt="spatial indexing" class = "sphx-glr-single-img"/><p class="sphx-glr-timing"><strong>Total running time of the script:</strong> (0 minutes 0.775 seconds)</p>
736736
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-examples-spatial-indexing-py">
737737
<div class="sphx-glr-download sphx-glr-download-jupyter docutils container">
738738
<p><a class="reference download internal" download="" href="../_downloads/2898f91a1d3d00e555fa19b6a4d6c98e/spatial_indexing.ipynb"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Jupyter</span> <span class="pre">notebook:</span> <span class="pre">spatial_indexing.ipynb</span></code></a></p>

genindex.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<link href="_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3030
<link href="_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3131

32-
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
32+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
3333
<link rel="stylesheet" type="text/css" href="_static/sg_gallery.css?v=d2d258e8" />
3434
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-binder.css?v=f4aeca0c" />
3535
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-dataframe.css?v=2082cf3c" />

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<link href="_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3131
<link href="_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3232

33-
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
33+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
3434
<link rel="stylesheet" type="text/css" href="_static/sg_gallery.css?v=d2d258e8" />
3535
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-binder.css?v=f4aeca0c" />
3636
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-dataframe.css?v=2082cf3c" />
@@ -342,8 +342,8 @@ <h1>Numba Celltree<a class="headerlink" href="#numba-celltree" title="Link to th
342342
<p>Finding your way around in unstructured meshes is difficult. Numba Celltree
343343
provides methods for searching for points, lines, boxes, and cells (convex
344344
polygons) in a two dimensional unstructured mesh.</p>
345-
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
346-
<span class="kn">from</span> <span class="nn">numba_celltree</span> <span class="kn">import</span> <span class="n">CellTree2d</span><span class="p">,</span> <span class="n">demo</span>
345+
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">numpy</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="nn">np</span>
346+
<span class="kn">from</span><span class="w"> </span><span class="nn">numba_celltree</span><span class="w"> </span><span class="kn">import</span> <span class="n">CellTree2d</span><span class="p">,</span> <span class="n">demo</span>
347347

348348

349349
<span class="n">vertices</span><span class="p">,</span> <span class="n">faces</span> <span class="o">=</span> <span class="n">demo</span><span class="o">.</span><span class="n">generate_disk</span><span class="p">(</span><span class="mi">5</span><span class="p">,</span> <span class="mi">5</span><span class="p">)</span>

py-modindex.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<link href="_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3030
<link href="_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3131

32-
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
32+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
3333
<link rel="stylesheet" type="text/css" href="_static/sg_gallery.css?v=d2d258e8" />
3434
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-binder.css?v=f4aeca0c" />
3535
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-dataframe.css?v=2082cf3c" />

search.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<link href="_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
2929
<link href="_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
3030

31-
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
31+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
3232
<link rel="stylesheet" type="text/css" href="_static/sg_gallery.css?v=d2d258e8" />
3333
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-binder.css?v=f4aeca0c" />
3434
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-dataframe.css?v=2082cf3c" />

0 commit comments

Comments
 (0)