Skip to content

Commit ad75413

Browse files
committed
Update readme fix bad links and move demo project to different repositories
1 parent f86adae commit ad75413

File tree

22 files changed

+38
-878
lines changed

22 files changed

+38
-878
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ including bitmap, vector graph, piston window, GTK/Cairo and WebAssembly.
1818

1919
- A new Plotters Developer's Guide is working in progress. The preview version is available at [here](https://plotters-rs.github.io/book).
2020
- To try Plotters with interactive Jupyter notebook, or view [here](https://plotters-rs.github.io/plotters-doc-data/evcxr-jupyter-integration.html) for the static HTML version.
21-
- To view the WASM example, go to this [link](https://plumberserver.com/plotters-wasm-demo/index.html)
21+
- To view the WASM example, go to this [link](https://plotters-rs.github.io/wasm-demo/www/index.html)
2222
- Currently we have all the internal code ready for console plotting, but a console based backend is still not ready. See [this example](https://github.com/38/plotters/blob/master/examples/console.rs) for how to plotting on Console with a customized backend.
2323
- Plotters now moved all backend code to sperate repositories, check [FAQ list](#faq-list) for details
2424

@@ -133,6 +133,7 @@ To view the source code for each example, please click on the example image.
133133
* [Dependencies](#dependencies)
134134
+ [Ubuntu Linux](#ubuntu-linux)
135135
* [Quick Start](#quick-start)
136+
* [Demo Projects ](#demo-projects-)
136137
* [Trying with Jupyter evcxr Kernel Interactively](#trying-with-jupyter-evcxr-kernel-interactively)
137138
* [Interactive Tutorial with Jupyter Notebook](#interactive-tutorial-with-jupyter-notebook)
138139
* [Plotting in Rust](#plotting-in-rust)
@@ -202,6 +203,14 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
202203

203204
![](https://plotters-rs.github.io/plotters-doc-data/0.png)
204205

206+
## Demo Projects
207+
208+
To learn how to use Plotters in different scenarios by checking out the following demo projects:
209+
210+
- WebAssembly + Plotters: [plotters-wasm-demo](https://github.com/plotters-rs/plotters-wasm-demo)
211+
- minifb + Plotters: [plotters-minifb-demo](https://github.com/plotters-rs/plotters-minifb-demo)
212+
- GTK + Plotters: [plotters-gtk-demo](https://github.com/plotters/plotters-gtk-demo)
213+
205214

206215
## Trying with Jupyter evcxr Kernel Interactively
207216

@@ -262,7 +271,7 @@ jupyter notebook
262271

263272
And select the notebook called `evcxr-jupyter-integration.ipynb`.
264273

265-
Also, there's a static HTML version of this notebook available at the [this location](https://plumberserver.com/plotters-docs/evcxr-jupyter-integration.html)
274+
Also, there's a static HTML version of this notebook available at the [this location](https://plotters-rs.github.io/plotters-doc-data/evcxr-jupyter-integration.html)
266275

267276
## Plotting in Rust
268277

@@ -289,8 +298,8 @@ very useful for visualization on a web page and would have a huge performance im
289298
Plotters currently supports backend that uses the HTML5 canvas. To use the WASM support, you can simply use
290299
`CanvasBackend` instead of other backend and all other API remains the same!
291300

292-
There's a small demo for Plotters + WASM under `examples/wasm-demo` directory of this repo.
293-
To play with the deployed version, follow this [link](https://plumberserver.com/plotters-wasm-demo/index.html).
301+
There's a small demo for Plotters + WASM available at [here](https://github.com/plotters-rs/plotters-wasm-demo).
302+
To play with the deployed version, follow this [link](https://plotters-rs.github.io/wasm-demo/www/index.html).
294303

295304

296305
## What types of figure are supported?

doc-template/readme.template.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ including bitmap, vector graph, piston window, GTK/Cairo and WebAssembly.
1818

1919
- A new Plotters Developer's Guide is working in progress. The preview version is available at [here](https://plotters-rs.github.io/book).
2020
- To try Plotters with interactive Jupyter notebook, or view [here](https://plotters-rs.github.io/plotters-doc-data/evcxr-jupyter-integration.html) for the static HTML version.
21-
- To view the WASM example, go to this [link](https://plumberserver.com/plotters-wasm-demo/index.html)
21+
- To view the WASM example, go to this [link](https://plotters-rs.github.io/wasm-demo/www/index.html)
2222
- Currently we have all the internal code ready for console plotting, but a console based backend is still not ready. See [this example](https://github.com/38/plotters/blob/master/examples/console.rs) for how to plotting on Console with a customized backend.
2323
- Plotters now moved all backend code to sperate repositories, check [FAQ list](#faq-list) for details
2424

@@ -51,6 +51,14 @@ $$../examples/quick_start.rs$$
5151

5252
![](https://plotters-rs.github.io/plotters-doc-data/0.png)
5353

54+
## Demo Projects
55+
56+
To learn how to use Plotters in different scenarios by checking out the following demo projects:
57+
58+
- WebAssembly + Plotters: [plotters-wasm-demo](https://github.com/plotters-rs/plotters-wasm-demo)
59+
- minifb + Plotters: [plotters-minifb-demo](https://github.com/plotters-rs/plotters-minifb-demo)
60+
- GTK + Plotters: [plotters-gtk-demo](https://github.com/plotters/plotters-gtk-demo)
61+
5462

5563
## Trying with Jupyter evcxr Kernel Interactively
5664

@@ -111,7 +119,7 @@ jupyter notebook
111119

112120
And select the notebook called `evcxr-jupyter-integration.ipynb`.
113121

114-
Also, there's a static HTML version of this notebook available at the [this location](https://plumberserver.com/plotters-docs/evcxr-jupyter-integration.html)
122+
Also, there's a static HTML version of this notebook available at the [this location](https://plotters-rs.github.io/plotters-doc-data/evcxr-jupyter-integration.html)
115123

116124
## Plotting in Rust
117125

@@ -138,8 +146,8 @@ very useful for visualization on a web page and would have a huge performance im
138146
Plotters currently supports backend that uses the HTML5 canvas. To use the WASM support, you can simply use
139147
`CanvasBackend` instead of other backend and all other API remains the same!
140148

141-
There's a small demo for Plotters + WASM under `examples/wasm-demo` directory of this repo.
142-
To play with the deployed version, follow this [link](https://plumberserver.com/plotters-wasm-demo/index.html).
149+
There's a small demo for Plotters + WASM available at [here](https://github.com/plotters-rs/plotters-wasm-demo).
150+
To play with the deployed version, follow this [link](https://plotters-rs.github.io/wasm-demo/www/index.html).
143151

144152

145153
## What types of figure are supported?

plotters/examples/gtk-demo/Cargo.toml

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

plotters/examples/gtk-demo/src/main.rs

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

plotters/examples/minifb-demo/Cargo.toml

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

plotters/examples/minifb-demo/src/main.rs

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

0 commit comments

Comments
 (0)