Skip to content

Commit

Permalink
build based on 3c303f8
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Oct 22, 2024
1 parent 0463afc commit 39824e4
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.11.1","generation_timestamp":"2024-10-22T21:18:30","documenter_version":"1.7.0"}}
{"documenter":{"julia_version":"1.11.1","generation_timestamp":"2024-10-22T21:26:54","documenter_version":"1.7.0"}}
12 changes: 6 additions & 6 deletions dev/basics/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
botticelli (notes) palette from artist Sandro Bot...


...found 6 results for &quot;ice&quot;</code></pre><p>To read the notes of a built-in colorscheme <code>cscheme</code>:</p><pre><code class="language-julia hljs">colorschemes[:cscheme].notes</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaGraphics/ColorSchemes.jl/blob/35b7f3206448f4c5ada7f0e82aeeccbd92750cdd/src/ColorSchemes.jl#L153-L184">source</a></section></article><p>If you prefer, you can ‘roll your own’ search.</p><pre><code class="language-julia hljs">[k for (k, v) in ColorSchemes.colorschemes if occursin(r&quot;colorbrew&quot;i, v.category)]
...found 6 results for &quot;ice&quot;</code></pre><p>To read the notes of a built-in colorscheme <code>cscheme</code>:</p><pre><code class="language-julia hljs">colorschemes[:cscheme].notes</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaGraphics/ColorSchemes.jl/blob/3c303f89205110db1da6de0d079c12d2f6674d70/src/ColorSchemes.jl#L153-L184">source</a></section></article><p>If you prefer, you can ‘roll your own’ search.</p><pre><code class="language-julia hljs">[k for (k, v) in ColorSchemes.colorschemes if occursin(r&quot;colorbrew&quot;i, v.category)]
265-element Array{Symbol,1}:
:BuPu_6
:Spectral_4
Expand Down Expand Up @@ -572,12 +572,12 @@
width="180mm" height="25mm" viewBox="0 0 9 1" stroke="none"
preserveAspectRatio="none" shape-rendering="crispEdges">
<defs>
<pattern id="pat_7LSGE" width=".2" height=".2"
<pattern id="pat_3ymiQx" width=".2" height=".2"
patternUnits="userSpaceOnUse" patternTransform="scale(1.25,1)" >
<path d="M.1,0h.1v.1h-.2v.1h.1z" fill="%23999" opacity=".5" />
</pattern>
</defs>
<rect width="9" height="1" fill="url(%23pat_7LSGE)" />
<rect width="9" height="1" fill="url(%23pat_3ymiQx)" />
<path d="M1,.1V1h-1V.9z" fill="%2330123B" />
<path d="M0,0h1v1h-1z" fill="%2330123B" fill-opacity=".5" />
<path d="M2,.1V1h-1V.9z" fill="%23466BE3" />
Expand All @@ -603,12 +603,12 @@
width="180mm" height="25mm" viewBox="0 0 30 1" stroke="none"
preserveAspectRatio="none" shape-rendering="crispEdges">
<defs>
<pattern id="pat_28IpVl" width=".2" height=".2"
<pattern id="pat_2fn5De" width=".2" height=".2"
patternUnits="userSpaceOnUse" patternTransform="scale(4.167,1)" >
<path d="M.1,0h.1v.1h-.2v.1h.1z" fill="%23999" opacity=".5" />
</pattern>
</defs>
<rect width="30" height="1" fill="url(%23pat_28IpVl)" />
<rect width="30" height="1" fill="url(%23pat_2fn5De)" />
<path d="M1,.38V1h-1V.62z" fill="%2330123B" />
<path d="M0,0h1v1h-1z" fill="%2330123B" fill-opacity="0" />
<path d="M2,.38V1h-1V.62z" fill="%233A2C78" />
Expand Down Expand Up @@ -722,4 +722,4 @@
gray not currently in stock
perceptuallyuniformsequential 4
diverging 12
miscellaneous 17</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../catalogue/">« Catalogue</a><a class="docs-footer-nextpage" href="../goodpractice/">Good practice »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 22 October 2024 21:18">Tuesday 22 October 2024</span>. Using Julia version 1.11.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
miscellaneous 17</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../catalogue/">« Catalogue</a><a class="docs-footer-nextpage" href="../goodpractice/">Good practice »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 22 October 2024 21:26">Tuesday 22 October 2024</span>. Using Julia version 1.11.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/catalogue/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94490,4 +94490,4 @@ <h2 id="Pride-colorschemes"><a class="docs-heading-anchor" href="#Pride-colorsch
</svg>
</div>
</div>
</article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Introduction</a><a class="docs-footer-nextpage" href="../basics/">Basic usage »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 22 October 2024 21:18">Tuesday 22 October 2024</span>. Using Julia version 1.11.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
</article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Introduction</a><a class="docs-footer-nextpage" href="../basics/">Basic usage »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 22 October 2024 21:26">Tuesday 22 October 2024</span>. Using Julia version 1.11.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
4 changes: 2 additions & 2 deletions dev/finding/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
julia&gt; cs = ColorScheme(range(Colors.RGB(0,0,0), stop=Colors.RGB(1,1,1), length=5))

julia&gt; getinverse(cs, cs[3])
0.5</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaGraphics/ColorSchemes.jl/blob/35b7f3206448f4c5ada7f0e82aeeccbd92750cdd/src/ColorSchemes.jl#L343-L368">source</a></section></article><h2 id="Example-of-using-getinverse()"><a class="docs-heading-anchor" href="#Example-of-using-getinverse()">Example of using getinverse()</a><a id="Example-of-using-getinverse()-1"></a><a class="docs-heading-anchor-permalink" href="#Example-of-using-getinverse()" title="Permalink"></a></h2><p>One example use for <code>getinverse()</code> is to convert a heatmap image into an Array of continuous values, e.g. temperature.</p><p>In this example, we will convert a heatmap image representing temperature into an array of elevation values. The image represents global temperature anomalies averaged from 2008 through 2012, with blue as -2°C and Red as +2°C. Higher than normal temperatures are shown in red (red is +2°C) and lower than normal temperatures are shown in blue (blue is -2°C). The global surface temperature in 2012 was +0.55°C. </p><p><a href="https://www.giss.nasa.gov/research/news/archive/20130115/">NASA archive source</a>.</p><pre><code class="language-julia hljs">using Images, FileIO, Downloads, ColorSchemes
0.5</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaGraphics/ColorSchemes.jl/blob/3c303f89205110db1da6de0d079c12d2f6674d70/src/ColorSchemes.jl#L343-L368">source</a></section></article><h2 id="Example-of-using-getinverse()"><a class="docs-heading-anchor" href="#Example-of-using-getinverse()">Example of using getinverse()</a><a id="Example-of-using-getinverse()-1"></a><a class="docs-heading-anchor-permalink" href="#Example-of-using-getinverse()" title="Permalink"></a></h2><p>One example use for <code>getinverse()</code> is to convert a heatmap image into an Array of continuous values, e.g. temperature.</p><p>In this example, we will convert a heatmap image representing temperature into an array of elevation values. The image represents global temperature anomalies averaged from 2008 through 2012, with blue as -2°C and Red as +2°C. Higher than normal temperatures are shown in red (red is +2°C) and lower than normal temperatures are shown in blue (blue is -2°C). The global surface temperature in 2012 was +0.55°C. </p><p><a href="https://www.giss.nasa.gov/research/news/archive/20130115/">NASA archive source</a>.</p><pre><code class="language-julia hljs">using Images, FileIO, Downloads, ColorSchemes
img = Downloads.download(&quot;https://www.giss.nasa.gov/research/news/archive/20130115/719282main_2008_2012_printdata.1462.jpg&quot;) |&gt; load
img = imresize(img, Tuple(Int(x) for x in size(img) .* 0.2));
display(img)</code></pre><p><img src="../assets/figures/heatmap1.png" alt="&quot;heatmap 1&quot;"/></p><pre><code class="language-julia hljs">temps = [getinverse(ColorSchemes.temperaturemap, pixel) for pixel in img]
Expand Down Expand Up @@ -53,4 +53,4 @@
label(&quot;largest positive anomaly&quot;, :E, maxpt, offset=20)
circle(minpt, 5, :fill)
label(&quot;largest negative anomaly&quot;, :E, minpt, offset=20)
end 800 460</code></pre><p><img src="../assets/figures/heatmap4.png" alt="&quot;heatmap min and max&quot;"/></p><p>We can display the array of continuous values as a grayscale image, where black is 0.0 and white is 1.0.</p><pre><code class="language-julia hljs">Gray.(temps)</code></pre><p><img src="../assets/figures/heatmap2.png" alt="&quot;heatmap 2 grey&quot;"/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../goodpractice/">« Good practice</a><a class="docs-footer-nextpage" href="../plotting/">Plotting »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 22 October 2024 21:18">Tuesday 22 October 2024</span>. Using Julia version 1.11.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
end 800 460</code></pre><p><img src="../assets/figures/heatmap4.png" alt="&quot;heatmap min and max&quot;"/></p><p>We can display the array of continuous values as a grayscale image, where black is 0.0 and white is 1.0.</p><pre><code class="language-julia hljs">Gray.(temps)</code></pre><p><img src="../assets/figures/heatmap2.png" alt="&quot;heatmap 2 grey&quot;"/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../goodpractice/">« Good practice</a><a class="docs-footer-nextpage" href="../plotting/">Plotting »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Tuesday 22 October 2024 21:26">Tuesday 22 October 2024</span>. Using Julia version 1.11.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 39824e4

Please sign in to comment.