Skip to content

Commit 9d43bb5

Browse files
committed
update book for release 0.9.0
Signed-off-by: Andrei Gherghescu <[email protected]>
1 parent f684197 commit 9d43bb5

File tree

8 files changed

+7
-71
lines changed

8 files changed

+7
-71
lines changed

content/css/chrome.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/* CSS for UI elements (a.k.a. chrome) */
22

3-
@import 'variables.css';
4-
53
html {
64
scrollbar-color: var(--scrollbar) var(--bg);
75
}

content/css/general.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/* Base styles and content styles */
22

3-
@import 'variables.css';
4-
53
:root {
64
/* Browser default font-size is 16px, this way 1 rem = 10px */
75
font-size: 62.5%;

content/getting_started.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ <h1 class="menu-title">Plotly.rs Book</h1>
196196
<h1 id="getting-started"><a class="header" href="#getting-started">Getting Started</a></h1>
197197
<p>To start using <a href="https://github.com/plotly/plotly.rs">plotly.rs</a> in your project add the following to your <code>Cargo.toml</code>:</p>
198198
<pre><code class="language-toml">[dependencies]
199-
plotly = "0.8.4"
199+
plotly = "0.9.0"
200200
</code></pre>
201201
<p><a href="https://github.com/plotly/plotly.rs">Plotly.rs</a> is ultimately a thin wrapper around the <code>plotly.js</code> library. The main job of this library is to provide <code>structs</code> and <code>enums</code> which get serialized to <code>json</code> and passed to the <code>plotly.js</code> library to actually do the heavy lifting. As such, if you are familiar with <code>plotly.js</code> or its derivatives (e.g. the equivalent Python library), then you should find <a href="https://github.com/plotly/plotly.rs"><code>plotly.rs</code></a> intuitive to use.</p>
202202
<p>A <code>Plot</code> struct contains one or more <code>Trace</code> objects which describe the structure of data to be displayed. Optional <code>Layout</code> and <code>Configuration</code> structs can be used to specify the layout and config of the plot, respectively.</p>
@@ -252,7 +252,7 @@ <h1 id="getting-started"><a class="header" href="#getting-started">Getting Start
252252
<h2 id="saving-plots"><a class="header" href="#saving-plots">Saving Plots</a></h2>
253253
<p>To add the ability to save plots in the following formats: png, jpeg, webp, svg, pdf and eps, you can use the <code>kaleido</code> feature. This feature depends on <a href="https://github.com/plotly/Kaleido">plotly/Kaleido</a>: a cross-platform open source library for generating static images. All the necessary binaries have been included with <code>plotly_kaleido</code> for <code>Linux</code>, <code>Windows</code> and <code>MacOS</code>. Previous versions of <a href="https://github.com/plotly/plotly.rs">plotly.rs</a> used the <code>orca</code> feature, however, this has been deprecated as it provided the same functionality but required additional installation steps. To enable the <code>kaleido</code> feature add the following to your <code>Cargo.toml</code>:</p>
254254
<pre><code class="language-toml">[dependencies]
255-
plotly = { version = "0.8.4", features = ["kaleido"] }
255+
plotly = { version = "0.9.0", features = ["kaleido"] }
256256
</code></pre>
257257
<h2 id="webassembly-support"><a class="header" href="#webassembly-support">WebAssembly Support</a></h2>
258258
<p>As of v0.8.0, <a href="https://github.com/plotly/plotly.rs">plotly.rs</a> can now be used in a <code>Wasm</code> environment by enabling the <code>wasm</code> feature in your <code>Cargo.toml</code>:</p>

content/highlight.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

content/plotly-1.54.6.min.js

Lines changed: 0 additions & 61 deletions
This file was deleted.

content/print.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ <h2 id="license"><a class="header" href="#license">License</a></h2>
224224
<h1 id="getting-started"><a class="header" href="#getting-started">Getting Started</a></h1>
225225
<p>To start using <a href="https://github.com/plotly/plotly.rs">plotly.rs</a> in your project add the following to your <code>Cargo.toml</code>:</p>
226226
<pre><code class="language-toml">[dependencies]
227-
plotly = "0.8.4"
227+
plotly = "0.9.0"
228228
</code></pre>
229229
<p><a href="https://github.com/plotly/plotly.rs">Plotly.rs</a> is ultimately a thin wrapper around the <code>plotly.js</code> library. The main job of this library is to provide <code>structs</code> and <code>enums</code> which get serialized to <code>json</code> and passed to the <code>plotly.js</code> library to actually do the heavy lifting. As such, if you are familiar with <code>plotly.js</code> or its derivatives (e.g. the equivalent Python library), then you should find <a href="https://github.com/plotly/plotly.rs"><code>plotly.rs</code></a> intuitive to use.</p>
230230
<p>A <code>Plot</code> struct contains one or more <code>Trace</code> objects which describe the structure of data to be displayed. Optional <code>Layout</code> and <code>Configuration</code> structs can be used to specify the layout and config of the plot, respectively.</p>
@@ -280,7 +280,7 @@ <h1 id="getting-started"><a class="header" href="#getting-started">Getting Start
280280
<h2 id="saving-plots"><a class="header" href="#saving-plots">Saving Plots</a></h2>
281281
<p>To add the ability to save plots in the following formats: png, jpeg, webp, svg, pdf and eps, you can use the <code>kaleido</code> feature. This feature depends on <a href="https://github.com/plotly/Kaleido">plotly/Kaleido</a>: a cross-platform open source library for generating static images. All the necessary binaries have been included with <code>plotly_kaleido</code> for <code>Linux</code>, <code>Windows</code> and <code>MacOS</code>. Previous versions of <a href="https://github.com/plotly/plotly.rs">plotly.rs</a> used the <code>orca</code> feature, however, this has been deprecated as it provided the same functionality but required additional installation steps. To enable the <code>kaleido</code> feature add the following to your <code>Cargo.toml</code>:</p>
282282
<pre><code class="language-toml">[dependencies]
283-
plotly = { version = "0.8.4", features = ["kaleido"] }
283+
plotly = { version = "0.9.0", features = ["kaleido"] }
284284
</code></pre>
285285
<h2 id="webassembly-support"><a class="header" href="#webassembly-support">WebAssembly Support</a></h2>
286286
<p>As of v0.8.0, <a href="https://github.com/plotly/plotly.rs">plotly.rs</a> can now be used in a <code>Wasm</code> environment by enabling the <code>wasm</code> feature in your <code>Cargo.toml</code>:</p>

content/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

content/searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)