Skip to content

Commit 03adc6c

Browse files
committed
use book from branch with all references fixed
Signed-off-by: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com>
1 parent 00ea334 commit 03adc6c

14 files changed

+79
-79
lines changed

content/fundamentals.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ <h1 class="menu-title">Plotly.rs Book</h1>
177177
<div id="content" class="content">
178178
<main>
179179
<div align="center">
180-
<a href="https://github.com/igiagkiozis/plotly/tree/master">
181-
<img src="https://img.shields.io/badge/Plotly.rs-master-brightgreen" alt="build status">
180+
<a href="https://github.com/plotly/plotly.rs/tree/main">
181+
<img src="https://img.shields.io/badge/Plotly.rs-main-brightgreen" alt="build status">
182182
</a>
183-
<a href="https://github.com/igiagkiozis/plotly/actions">
184-
<img src="https://github.com/igiagkiozis/plotly/workflows/build/badge.svg" alt="build status">
183+
<a href="https://github.com/plotly/plotly.rs/actions">
184+
<img src="https://github.com/plotly/plotly.rs/workflows/build/badge.svg" alt="build status">
185185
</a>
186186
<a href="https://crates.io/crates/plotly">
187187
<img src="https://img.shields.io/crates/v/plotly.svg" alt="Crates.io">

content/fundamentals/jupyter_support.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ <h1 class="menu-title">Plotly.rs Book</h1>
177177
<div id="content" class="content">
178178
<main>
179179
<h1 id="jupyter-support"><a class="header" href="#jupyter-support">Jupyter Support</a></h1>
180-
<p>As of version <code>0.7.0</code>, <a href="https://github.com/igiagkiozis/plotly">Plotly.rs</a> has native support for the <a href="https://github.com/google/evcxr/tree/master/evcxr_jupyter">EvCxR Jupyter Kernel</a>.</p>
180+
<p>As of version <code>0.7.0</code>, <a href="https://github.com/plotly/plotly.rs">Plotly.rs</a> has native support for the <a href="https://github.com/google/evcxr/tree/master/evcxr_jupyter">EvCxR Jupyter Kernel</a>.</p>
181181
<p>Once you've installed the required packages you'll be able to run all the examples shown here as well as all <a href="../recipes.html">the recipes</a> in Jupyter Lab!</p>
182182
<h2 id="installation"><a class="header" href="#installation">Installation</a></h2>
183183
<p>It is assumed that an installation of the <a href="https://www.anaconda.com/products/individual">Anaconda</a> Python distribution is already present in the system. If that is not the case you can follow these <a href="https://www.anaconda.com/products/individual">instructions</a> to get up and running with <code>Anaconda</code>.</p>
@@ -256,8 +256,8 @@ <h2 id="usage"><a class="header" href="#usage">Usage</a></h2>
256256
plot.lab_display();
257257
format!("EVCXR_BEGIN_CONTENT application/vnd.plotly.v1+json\n{}\nEVCXR_END_CONTENT", plot.to_json())
258258
<span class="boring">}</span></code></pre></pre>
259-
<p>For Jupyter Lab there are two ways to display a plot in the <code>EvCxR</code> kernel, either have the plot object be in the last line without a semicolon or directly invoke the <code>Plot::lab_display</code> method on it; both have the same result. You can also find an example notebook <a href="https://github.com/igiagkiozis/plotly/blob/master/examples/jupyter/jupyter_lab.ipynb">here</a> that will periodically be updated with examples.</p>
260-
<p>The process for Jupyter Notebook is very much the same with one exception; the <code>Plot::notebook_display</code> method must be used to display the plot. You can find an example notebook <a href="https://github.com/igiagkiozis/plotly/blob/master/examples/jupyter/jupyter_notebook.ipynb">here</a></p>
259+
<p>For Jupyter Lab there are two ways to display a plot in the <code>EvCxR</code> kernel, either have the plot object be in the last line without a semicolon or directly invoke the <code>Plot::lab_display</code> method on it; both have the same result. You can also find an example notebook <a href="https://github.com/plotly/plotly.rs/tree/main/examples/jupyter/jupyter_lab.ipynb">here</a> that will periodically be updated with examples.</p>
260+
<p>The process for Jupyter Notebook is very much the same with one exception; the <code>Plot::notebook_display</code> method must be used to display the plot. You can find an example notebook <a href="https://github.com/plotly/plotly.rs/tree/main/examples/jupyter/jupyter_notebook.ipynb">here</a></p>
261261

262262
</main>
263263

content/fundamentals/ndarray_support.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,16 @@ <h1 class="menu-title">Plotly.rs Book</h1>
177177
<div id="content" class="content">
178178
<main>
179179
<h1 id="ndarray-support"><a class="header" href="#ndarray-support"><code>ndarray</code> Support</a></h1>
180-
<p>To enable <a href="https://github.com/rust-ndarray/ndarray">ndarray</a> support in <a href="https://github.com/igiagkiozis/plotly">Plotly.rs</a> add the following feature to your <code>Cargo.toml</code> file:</p>
180+
<p>To enable <a href="https://github.com/rust-ndarray/ndarray">ndarray</a> support in <a href="https://github.com/plotly/plotly.rs">Plotly.rs</a> add the following feature to your <code>Cargo.toml</code> file:</p>
181181
<pre><code class="language-toml">[dependencies]
182182
plotly = { version = "&gt;=0.7.0", features = ["plotly_ndarray"] }
183183
</code></pre>
184-
<p>This extends the <a href="https://github.com/igiagkiozis/plotly">Plotly.rs</a> API in two ways:</p>
184+
<p>This extends the <a href="https://github.com/plotly/plotly.rs">Plotly.rs</a> API in two ways:</p>
185185
<ul>
186186
<li><code>Scatter</code> traces can now be created using the <code>Scatter::from_ndarray</code> constructor,</li>
187187
<li>and also multiple traces can be created with the <code>Scatter::to_traces</code> method.</li>
188188
</ul>
189-
<p>The full source code for the examples below can be found <a href="https://github.com/igiagkiozis/plotly/blob/master/plotly/examples/ndarray_support.rs">here</a>.</p>
189+
<p>The full source code for the examples below can be found <a href="https://github.com/plotly/plotly.rs/tree/main/examples/ndarray_support">here</a>.</p>
190190
<h2 id="ndarray-traces"><a class="header" href="#ndarray-traces"><code>ndarray</code> Traces</a></h2>
191191
<p>The following imports have been used to produce the plots below:</p>
192192
<pre><pre class="playground"><code class="language-rust"><span class="boring">#![allow(unused)]

content/getting_started.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ <h1 class="menu-title">Plotly.rs Book</h1>
177177
<div id="content" class="content">
178178
<main>
179179
<div align="center">
180-
<a href="https://github.com/igiagkiozis/plotly/tree/master">
181-
<img src="https://img.shields.io/badge/Plotly.rs-master-brightgreen" alt="build status">
180+
<a href="https://github.com/plotly/plotly.rs/tree/main">
181+
<img src="https://img.shields.io/badge/Plotly.rs-main-brightgreen" alt="build status">
182182
</a>
183-
<a href="https://github.com/igiagkiozis/plotly/actions">
184-
<img src="https://github.com/igiagkiozis/plotly/workflows/build/badge.svg" alt="build status">
183+
<a href="https://github.com/plotly/plotly.rs/actions">
184+
<img src="https://github.com/plotly/plotly.rs/workflows/build/badge.svg" alt="build status">
185185
</a>
186186
<a href="https://crates.io/crates/plotly">
187187
<img src="https://img.shields.io/crates/v/plotly.svg" alt="Crates.io">
@@ -194,11 +194,11 @@ <h1 class="menu-title">Plotly.rs Book</h1>
194194
</a>
195195
</div>
196196
<h1 id="getting-started"><a class="header" href="#getting-started">Getting Started</a></h1>
197-
<p>To start using <a href="https://github.com/igiagkiozis/plotly">plotly.rs</a> in your project add the following to your <code>Cargo.toml</code>:</p>
197+
<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]
199199
plotly = "0.8.4"
200200
</code></pre>
201-
<p><a href="https://github.com/igiagkiozis/plotly">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/igiagkiozis/plotly"><code>plotly.rs</code></a> intuitive to use.</p>
201+
<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>
203203
<p>The builder pattern is used extensively throughout the library, which means you only need to specify the attributes and details you desire. Any attributes that are not set will fall back to the default value used by <code>plotly.js</code>.</p>
204204
<p>All available traces (e.g. <code>Scatter</code>, <code>Bar</code>, <code>Histogram</code>, etc), the <code>Layout</code>, <code>Configuration</code> and <code>Plot</code> have been hoisted in the <code>plotly</code> namespace so that they can be imported simply using the following:</p>
@@ -250,12 +250,12 @@ <h1 id="getting-started"><a class="header" href="#getting-started">Getting Start
250250
<span class="boring">}</span></code></pre></pre>
251251
<p>The extension in the file-name path is optional as the appropriate extension (<code>ImageFormat::PNG</code>) will be included. Note that in all functions that save files to disk, both relative and absolute paths are supported.</p>
252252
<h2 id="saving-plots"><a class="header" href="#saving-plots">Saving Plots</a></h2>
253-
<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/igiagkiozis/plotly">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>
253+
<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]
255255
plotly = { version = "0.8.4", features = ["kaleido"] }
256256
</code></pre>
257257
<h2 id="webassembly-support"><a class="header" href="#webassembly-support">WebAssembly Support</a></h2>
258-
<p>As of v0.8.0, <a href="https://github.com/igiagkiozis/plotly">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>
258+
<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>
259259
<pre><code class="language-toml">[dependencies]
260260
plotly = { version = "&gt;=0.8.0" features = ["wasm"] }
261261
</code></pre>

content/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ <h1 class="menu-title">Plotly.rs Book</h1>
177177
<div id="content" class="content">
178178
<main>
179179
<div align="center">
180-
<a href="https://github.com/igiagkiozis/plotly/tree/master">
181-
<img src="https://img.shields.io/badge/Plotly.rs-master-brightgreen" alt="build status">
180+
<a href="https://github.com/plotly/plotly.rs/tree/main">
181+
<img src="https://img.shields.io/badge/Plotly.rs-main-brightgreen" alt="build status">
182182
</a>
183-
<a href="https://github.com/igiagkiozis/plotly/actions">
184-
<img src="https://github.com/igiagkiozis/plotly/workflows/build/badge.svg" alt="build status">
183+
<a href="https://github.com/plotly/plotly.rs/actions">
184+
<img src="https://github.com/plotly/plotly.rs/workflows/build/badge.svg" alt="build status">
185185
</a>
186186
<a href="https://crates.io/crates/plotly">
187187
<img src="https://img.shields.io/crates/v/plotly.svg" alt="Crates.io">
@@ -195,14 +195,14 @@ <h1 class="menu-title">Plotly.rs Book</h1>
195195
</div>
196196
<h1 id="plotlyrs"><a class="header" href="#plotlyrs">Plotly.rs</a></h1>
197197
<p>Plotly.rs is a plotting library powered by <a href="https://plot.ly/javascript/">Plotly.js</a>. The aim is to bring over to Rust all the functionality that <code>Python</code> users have come to rely on with the added benefit of type safety and speed.</p>
198-
<p>Plotly.rs is free and open source. You can find the source on <a href="https://github.com/igiagkiozis/plotly">GitHub</a>. Issues and feature requests can be posted on the <a href="https://github.com/igiagkiozis/plotly/issues">issue tracker</a>.</p>
198+
<p>Plotly.rs is free and open source. You can find the source on <a href="https://github.com/plotly/plotly.rs">GitHub</a>. Issues and feature requests can be posted on the <a href="https://github.com/plotly/plotly.rs/issues">issue tracker</a>.</p>
199199
<h2 id="api-docs"><a class="header" href="#api-docs">API Docs</a></h2>
200200
<p>This book is intended to be a recipe index, which closely follows the <a href="https://plotly.com/javascript/">plotly.js examples</a>, and is complemented by the <a href="https://docs.rs/plotly">API documentation</a>.</p>
201201
<h2 id="contributing"><a class="header" href="#contributing">Contributing</a></h2>
202-
<p>Contributions are always welcomed, no matter how large or small. Refer to the <a href="https://github.com/igiagkiozis/plotly/blob/master/CONTRIBUTING.md">contributing guidelines</a> for further pointers, and, if in doubt, <a href="https://github.com/igiagkiozis/plotly/issues">open an issue</a>.</p>
202+
<p>Contributions are always welcomed, no matter how large or small. Refer to the <a href="https://github.com/plotly/plotly.rs/tree/main/CONTRIBUTING.md">contributing guidelines</a> for further pointers, and, if in doubt, <a href="https://github.com/plotly/plotly.rs/issues">open an issue</a>.</p>
203203
<h2 id="license"><a class="header" href="#license">License</a></h2>
204204
<p>Plotly.rs is distributed under the terms of the MIT license.</p>
205-
<p>See <a href="https://github.com/igiagkiozis/plotly/blob/master/LICENSE-MIT">LICENSE-MIT</a>, and <a href="https://github.com/igiagkiozis/plotly/blob/master/COPYRIGHT">COPYRIGHT</a> for details.</p>
205+
<p>See <a href="https://github.com/plotly/plotly.rs/tree/main/LICENSE-MIT">LICENSE-MIT</a>, and <a href="https://github.com/plotly/plotly.rs/tree/main/COPYRIGHT">COPYRIGHT</a> for details.</p>
206206

207207
</main>
208208

content/plotly_rs.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ <h1 class="menu-title">Plotly.rs Book</h1>
177177
<div id="content" class="content">
178178
<main>
179179
<div align="center">
180-
<a href="https://github.com/igiagkiozis/plotly/tree/master">
181-
<img src="https://img.shields.io/badge/Plotly.rs-master-brightgreen" alt="build status">
180+
<a href="https://github.com/plotly/plotly.rs/tree/main">
181+
<img src="https://img.shields.io/badge/Plotly.rs-main-brightgreen" alt="build status">
182182
</a>
183-
<a href="https://github.com/igiagkiozis/plotly/actions">
184-
<img src="https://github.com/igiagkiozis/plotly/workflows/build/badge.svg" alt="build status">
183+
<a href="https://github.com/plotly/plotly.rs/actions">
184+
<img src="https://github.com/plotly/plotly.rs/workflows/build/badge.svg" alt="build status">
185185
</a>
186186
<a href="https://crates.io/crates/plotly">
187187
<img src="https://img.shields.io/crates/v/plotly.svg" alt="Crates.io">
@@ -195,14 +195,14 @@ <h1 class="menu-title">Plotly.rs Book</h1>
195195
</div>
196196
<h1 id="plotlyrs"><a class="header" href="#plotlyrs">Plotly.rs</a></h1>
197197
<p>Plotly.rs is a plotting library powered by <a href="https://plot.ly/javascript/">Plotly.js</a>. The aim is to bring over to Rust all the functionality that <code>Python</code> users have come to rely on with the added benefit of type safety and speed.</p>
198-
<p>Plotly.rs is free and open source. You can find the source on <a href="https://github.com/igiagkiozis/plotly">GitHub</a>. Issues and feature requests can be posted on the <a href="https://github.com/igiagkiozis/plotly/issues">issue tracker</a>.</p>
198+
<p>Plotly.rs is free and open source. You can find the source on <a href="https://github.com/plotly/plotly.rs">GitHub</a>. Issues and feature requests can be posted on the <a href="https://github.com/plotly/plotly.rs/issues">issue tracker</a>.</p>
199199
<h2 id="api-docs"><a class="header" href="#api-docs">API Docs</a></h2>
200200
<p>This book is intended to be a recipe index, which closely follows the <a href="https://plotly.com/javascript/">plotly.js examples</a>, and is complemented by the <a href="https://docs.rs/plotly">API documentation</a>.</p>
201201
<h2 id="contributing"><a class="header" href="#contributing">Contributing</a></h2>
202-
<p>Contributions are always welcomed, no matter how large or small. Refer to the <a href="https://github.com/igiagkiozis/plotly/blob/master/CONTRIBUTING.md">contributing guidelines</a> for further pointers, and, if in doubt, <a href="https://github.com/igiagkiozis/plotly/issues">open an issue</a>.</p>
202+
<p>Contributions are always welcomed, no matter how large or small. Refer to the <a href="https://github.com/plotly/plotly.rs/tree/main/CONTRIBUTING.md">contributing guidelines</a> for further pointers, and, if in doubt, <a href="https://github.com/plotly/plotly.rs/issues">open an issue</a>.</p>
203203
<h2 id="license"><a class="header" href="#license">License</a></h2>
204204
<p>Plotly.rs is distributed under the terms of the MIT license.</p>
205-
<p>See <a href="https://github.com/igiagkiozis/plotly/blob/master/LICENSE-MIT">LICENSE-MIT</a>, and <a href="https://github.com/igiagkiozis/plotly/blob/master/COPYRIGHT">COPYRIGHT</a> for details.</p>
205+
<p>See <a href="https://github.com/plotly/plotly.rs/tree/main/LICENSE-MIT">LICENSE-MIT</a>, and <a href="https://github.com/plotly/plotly.rs/tree/main/COPYRIGHT">COPYRIGHT</a> for details.</p>
206206

207207
</main>
208208

0 commit comments

Comments
 (0)