Skip to content

Commit

Permalink
deploy: acf177c
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Jul 30, 2024
1 parent 0cd0a90 commit 0412783
Show file tree
Hide file tree
Showing 17 changed files with 176 additions and 155 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: a07cbfa86ea473b8855dcbd8f80d3a21
config: f8441adf079d449373b0c155d7cd8e47
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified _images/usage-output_11_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/usage-output_15_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/usage-output_18_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/usage-output_23_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/usage-output_25_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/usage-output_30_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/usage-output_3_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/usage-output_5_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/usage-output_7_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/usage-output_9_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
138 changes: 69 additions & 69 deletions _sources/usage-output.ipynb.txt

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions _static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const Search = {

htmlToText: (htmlString, anchor) => {
const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
for (const removalQuery of [".headerlinks", "script", "style"]) {
for (const removalQuery of [".headerlink", "script", "style"]) {
htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
}
if (anchor) {
Expand Down Expand Up @@ -328,13 +328,14 @@ const Search = {
for (const [title, foundTitles] of Object.entries(allTitles)) {
if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
for (const [file, id] of foundTitles) {
let score = Math.round(100 * queryLower.length / title.length)
const score = Math.round(Scorer.title * queryLower.length / title.length);
const boost = titles[file] === title ? 1 : 0; // add a boost for document titles
normalResults.push([
docNames[file],
titles[file] !== title ? `${titles[file]} > ${title}` : title,
id !== null ? "#" + id : "",
null,
score,
score + boost,
filenames[file],
]);
}
Expand Down
30 changes: 25 additions & 5 deletions api.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions usage-output.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h2>A stacked histogram with normed (displayed in percent) results.<a class="hea
</div>
<div class="output_area docutils container">
<div class="highlight"><pre>
&lt;matplotlib.legend.Legend at 0x7f18fc4f2bd0&gt;
&lt;matplotlib.legend.Legend at 0x7f169098b800&gt;
</pre></div></div>
</div>
<div class="nboutput nblast docutils container">
Expand Down Expand Up @@ -160,7 +160,7 @@ <h2>Another stacked histogram representation, not normed, with bins limits.<a cl
</div>
<div class="output_area docutils container">
<div class="highlight"><pre>
&lt;matplotlib.legend.Legend at 0x7f18fc2723c0&gt;
&lt;matplotlib.legend.Legend at 0x7f169073f7d0&gt;
</pre></div></div>
</div>
<div class="nboutput nblast docutils container">
Expand Down Expand Up @@ -191,7 +191,7 @@ <h2>A windrose in filled representation, with a controlled colormap.<a class="he
</div>
<div class="output_area docutils container">
<div class="highlight"><pre>
&lt;matplotlib.legend.Legend at 0x7f18fc34eea0&gt;
&lt;matplotlib.legend.Legend at 0x7f16907dba70&gt;
</pre></div></div>
</div>
<div class="nboutput nblast docutils container">
Expand Down Expand Up @@ -221,7 +221,7 @@ <h2>Same as above, but with contours over each filled region…<a class="headerl
</div>
<div class="output_area docutils container">
<div class="highlight"><pre>
&lt;matplotlib.legend.Legend at 0x7f18fc3a6ea0&gt;
&lt;matplotlib.legend.Legend at 0x7f16904a41a0&gt;
</pre></div></div>
</div>
<div class="nboutput nblast docutils container">
Expand Down Expand Up @@ -250,7 +250,7 @@ <h2>…or without filled regions.<a class="headerlink" href="#...or-without-fill
</div>
<div class="output_area docutils container">
<div class="highlight"><pre>
&lt;matplotlib.legend.Legend at 0x7f18f4d73140&gt;
&lt;matplotlib.legend.Legend at 0x7f169051d8e0&gt;
</pre></div></div>
</div>
<div class="nboutput nblast docutils container">
Expand Down Expand Up @@ -398,7 +398,7 @@ <h2>Probability density function (pdf) and fitting Weibull distribution<a class=
</div>
<div class="output_area docutils container">
<div class="highlight"><pre>
params=(1, np.float64(1.6846870835491603), 0, np.float64(3.3576762514579443))
params=(1, np.float64(1.592423357754082), 0, np.float64(3.2888338249169045))
</pre></div></div>
</div>
</section>
Expand Down Expand Up @@ -583,7 +583,7 @@ <h2>Pandas support<a class="headerlink" href="#Pandas-support" title="Link to th
<span class="n">ws</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">random</span><span class="p">(</span><span class="n">N</span><span class="p">)</span> <span class="o">*</span> <span class="mi">6</span>
<span class="n">wd</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">random</span><span class="p">(</span><span class="n">N</span><span class="p">)</span> <span class="o">*</span> <span class="mi">360</span>
<span class="n">df</span> <span class="o">=</span> <span class="n">pd</span><span class="o">.</span><span class="n">DataFrame</span><span class="p">({</span><span class="s2">&quot;speed&quot;</span><span class="p">:</span> <span class="n">ws</span><span class="p">,</span> <span class="s2">&quot;direction&quot;</span><span class="p">:</span> <span class="n">wd</span><span class="p">})</span>
<span class="n">plot_windrose</span><span class="p">(</span><span class="n">df</span><span class="p">,</span> <span class="n">kind</span><span class="o">=</span><span class="s2">&quot;contour&quot;</span><span class="p">,</span> <span class="n">bins</span><span class="o">=</span><span class="n">np</span><span class="o">.</span><span class="n">arange</span><span class="p">(</span><span class="mf">0.01</span><span class="p">,</span> <span class="mi">8</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span> <span class="n">cmap</span><span class="o">=</span><span class="n">cm</span><span class="o">.</span><span class="n">hot</span><span class="p">,</span> <span class="n">lw</span><span class="o">=</span><span class="mi">3</span><span class="p">)</span>
<span class="n">plot_windrose</span><span class="p">(</span><span class="n">df</span><span class="p">,</span> <span class="n">kind</span><span class="o">=</span><span class="s2">&quot;contour&quot;</span><span class="p">,</span> <span class="n">bins</span><span class="o">=</span><span class="n">np</span><span class="o">.</span><span class="n">arange</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">8</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span> <span class="n">cmap</span><span class="o">=</span><span class="n">cm</span><span class="o">.</span><span class="n">hot</span><span class="p">,</span> <span class="n">lw</span><span class="o">=</span><span class="mi">3</span><span class="p">)</span>
</pre></div>
</div>
</div>
Expand Down
138 changes: 69 additions & 69 deletions usage-output.ipynb

Large diffs are not rendered by default.

0 comments on commit 0412783

Please sign in to comment.