Skip to content

Commit

Permalink
build based on 0898fef
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Sep 26, 2024
1 parent 37d271e commit d1fcc96
Show file tree
Hide file tree
Showing 143 changed files with 221 additions and 221 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.10.5","generation_timestamp":"2024-09-23T12:39:02","documenter_version":"1.7.0"}}
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-26T00:55:59","documenter_version":"1.7.0"}}
2 changes: 0 additions & 2 deletions dev/gallery/boxplot/09c14ead.svg

This file was deleted.

2 changes: 2 additions & 0 deletions dev/gallery/boxplot/6f05bd2e-001.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions dev/gallery/boxplot/6f05bd2e.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions dev/gallery/boxplot/cd377932-001.svg

This file was deleted.

2 changes: 0 additions & 2 deletions dev/gallery/boxplot/cd377932.svg

This file was deleted.

2 changes: 2 additions & 0 deletions dev/gallery/boxplot/cdc0de99.svg
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 dev/gallery/boxplot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@
S(:fill=>rows.color[1])T(rows.x[1],0)BoxPlot(data=rows.y,box_width=40)
end
)
draw(plt)</code></pre><img src="cd377932.svg" alt="Example block output"/><p>We can reduce the graphic specification by passing a function that defines the graphic expression for the given mark:</p><pre><code class="language-julia hljs">function GraphicExpression(box::BoxPlot)
draw(plt)</code></pre><img src="6f05bd2e.svg" alt="Example block output"/><p>We can reduce the graphic specification by passing a function that defines the graphic expression for the given mark:</p><pre><code class="language-julia hljs">function GraphicExpression(box::BoxPlot)
return ∑(; i=:x) do rows
S(:fill =&gt; rows.color[1])T(rows.x[1], 0)BoxPlot(; data=rows.y, box_width=40)
end
end</code></pre><p>Once this is done, we can do the previous boxplot by simply writing:</p><pre><code class="language-julia hljs">plt = plot(df,x=:species,color=:species,y=:body_mass_g,
graphic=BoxPlot()
)
draw(plt)</code></pre><img src="cd377932-001.svg" alt="Example block output"/><h2 id="3.-Altering-Axis"><a class="docs-heading-anchor" href="#3.-Altering-Axis">3. Altering Axis</a><a id="3.-Altering-Axis-1"></a><a class="docs-heading-anchor-permalink" href="#3.-Altering-Axis" title="Permalink"></a></h2><p>At last, note that we can change the axis of our boxplot by altering the graphic expression:</p><pre><code class="language-julia hljs">plt = plot(df,y=:species,color=:species,x=:body_mass_g,
draw(plt)</code></pre><img src="6f05bd2e-001.svg" alt="Example block output"/><h2 id="3.-Altering-Axis"><a class="docs-heading-anchor" href="#3.-Altering-Axis">3. Altering Axis</a><a id="3.-Altering-Axis-1"></a><a class="docs-heading-anchor-permalink" href="#3.-Altering-Axis" title="Permalink"></a></h2><p>At last, note that we can change the axis of our boxplot by altering the graphic expression:</p><pre><code class="language-julia hljs">plt = plot(df,y=:species,color=:species,x=:body_mass_g,
graphic=∑(i=:y) do rows
S(:fill=&gt;rows.color[1])T(0,rows.y[1])R(-π/2)BoxPlot(data=rows.x,box_width=40)
end
)

draw(plt)</code></pre><img src="09c14ead.svg" alt="Example block output"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../tutorials/7_composite/">« 7 - Composite Visualizations</a><a class="docs-footer-nextpage" href="../groupedbar/">Grouped Bar Chart »</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="Monday 23 September 2024 12:39">Monday 23 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
draw(plt)</code></pre><img src="cdc0de99.svg" alt="Example block output"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../tutorials/7_composite/">« 7 - Composite Visualizations</a><a class="docs-footer-nextpage" href="../groupedbar/">Grouped Bar Chart »</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="Thursday 26 September 2024 00:55">Thursday 26 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit d1fcc96

Please sign in to comment.