Skip to content

Commit

Permalink
deploy: efff70b
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Mar 8, 2024
1 parent f86d6c9 commit 61c6b9b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions explanation/customising.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ <h1 id="customising-an-existing-data-structure" class="title">Customising an exi
<pre><code class="nohighlight"><span class="type-name">Gaussian</span><span>(</span><span class="number-literal">2</span><span>,</span><span class="number-literal">2</span><span>).</span><span class="identifier">plotDensity</span><span>(</span><span class="type-name">Seq</span><span>(</span><span class="identifier">viz</span><span>.</span><span class="type-name">Utils</span><span>.</span><span class="identifier">fillDiv</span><span>))
</span><span class="comment">// res0: ProbabilityDensity = ProbabilityDensity(
// mods = List(
// repl.MdocSession$MdocApp$$Lambda$15212/0x0000000803a59040@43aeab42,
// viz.Utils$$$Lambda$15195/0x000000080391d040@6fdb8e27
// repl.MdocSession$MdocApp$$Lambda$15111/0x0000000803478840@4b4bc2ef,
// viz.Utils$$$Lambda$15094/0x000000080393f040@6e96cee2
// )
// )
</span><span class="type-name">LogNormal</span><span>(</span><span class="number-literal">1</span><span>,</span><span class="number-literal">0.5</span><span>).</span><span class="identifier">plotDensity</span><span>(</span><span class="type-name">Seq</span><span>(</span><span class="identifier">viz</span><span>.</span><span class="type-name">Utils</span><span>.</span><span class="identifier">fillDiv</span><span>))
</span><span class="comment">// res1: ProbabilityDensity = ProbabilityDensity(
// mods = List(
// repl.MdocSession$MdocApp$$Lambda$15212/0x0000000803a59040@7aa101ae,
// viz.Utils$$$Lambda$15195/0x000000080391d040@6fdb8e27
// repl.MdocSession$MdocApp$$Lambda$15111/0x0000000803478840@2f2eb848,
// viz.Utils$$$Lambda$15094/0x000000080393f040@6e96cee2
// )
// )</span></code></pre>
<div id="mdoc-html-run0" data-mdoc-js></div>
Expand Down
2 changes: 1 addition & 1 deletion explanation/outFiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h1 id="where-do-the-temporary-files-live" class="title">Where do the temporary
</span><span class="keyword">val</span><span> </span><span class="identifier">chart</span><span> = </span><span class="type-name">BarChart</span><span>()
</span><span class="comment">// chart: BarChart = BarChart(mods = List())
</span><span class="identifier">chart</span><span>.</span><span class="identifier">tmpPath</span><span>
</span><span class="comment">// res0: Option[Path] = Some(value = /tmp/plot-11722283772016890382.txt)</span></code></pre>
</span><span class="comment">// res0: Option[Path] = Some(value = /tmp/plot-11557923765194788812.txt)</span></code></pre>
<p>It&#39;s location is in the <code>tmpPath</code> field of your chart. You could take advantage of the excellent <code>os</code> library and knowledge of the path of the file, to subsequently move it around. For example if you wish to automate producing a presentation via a script.</p>


Expand Down
2 changes: 1 addition & 1 deletion explanation/plotTargets.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h2 id="printlntarget" class="section"><a class="anchor-link left" href="#printl
// }
// res2: BarChart = BarChart(
// mods = List(
// viz.extensions.package$RawIterables$$$Lambda$15454/0x0000000803b5c040@76fb9ac3
// viz.extensions.package$RawIterables$$$Lambda$15362/0x0000000803b62040@62b1ccb9
// )
// )</span></code></pre>

Expand Down
3 changes: 2 additions & 1 deletion scala_js/scalaJS.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ <h2 id="javascript-libraries" class="section"><a class="anchor-link left" href="
<h2 id="es-module-map" class="section"><a class="anchor-link left" href="#es-module-map"><i class="icofont-laika link">&#xef71;</i></a>ES Module Map</h2>
<pre class="keep-together pdf epub"><code class="nohighlight"><span>{
</span><span class="attribute-name">&quot;imports&quot;</span><span>: {
</span><span class="attribute-name">&quot;@vega/npm/&quot;</span><span>: </span><span class="string-literal">&quot;https://cdn.jsdelivr.net/npm/&quot;</span><span>
</span><span class="attribute-name">&quot;##vega-embed&quot;</span><span>: </span><span class="string-literal">&quot;https://cdn.jsdelivr.net/npm/vega-embed@6/+esm&quot;</span><span>,
</span><span class="attribute-name">&quot;##vega-view&quot;</span><span>: </span><span class="string-literal">&quot;https://cdn.jsdelivr.net/npm/vega-view@5/+esm&quot;</span><span>,
}
}</span></code></pre>

Expand Down
2 changes: 1 addition & 1 deletion working_chart/mutable.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h2 id="better-title-modifier" class="section"><a class="anchor-link left" href=
// mods = List(
// set title to be A Timeseries,
// Fix default data url,
// viz.Utils$$$Lambda$15195/0x000000080391d040@6fdb8e27
// viz.Utils$$$Lambda$15094/0x000000080393f040@6e96cee2
// )
// )</span></code></pre>
<p>At this point, i think we have a hint on a simple way to inject data - the same way as we injected a title</p>
Expand Down

0 comments on commit 61c6b9b

Please sign in to comment.