You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are examples of plotters in use! Like in all Rust packages, examples can be built and run with `cargo`.
4
+
5
+
To run any example, from within the repo, run `cargo run --example <example_name>` where `<example name>` is the name of the file without the `.rs` extension.
6
+
7
+
The output of these example files are used to generate the [plotters-doc-data](https://github.com/38/plotters-doc-data) repo that populates the beautiful images you see in the main README. For that reason, they must be run with `cargo` from within the repo, or you must change the output filename in the example code to a directory that exists.
8
+
9
+
The examples that have their own directories and `Cargo.toml` files work differently. They are run the same way you would a standalone project.
0 commit comments