Plotters is a drawing library aimed to expedite the production of high-quality data visualization in Rust.
Plotters supports various types of backend and provides a easy-to-use high level drawing API that makes data visualization easy. The Plotters API is designed to be highly flexible and extensible.
Plotters is able to render the data visualization as a static image, a GIF animation and even real-time rendering backed on WASM, Piston Window or GTK/Cairo.
Please go to Github repository. All the sample code is under
To try it yourself, please clone the book repo and use the following command to run examples:
cargo run --bin <example-name>
- Why the example just exits without any figure popping up?
You should be table to find the output under
images directory under the user's guide repository.
The filename for the output is the defined in the example code.
This book is a developer's guide for Plotters. You may also want the API reference, please go to docs.rs.
There's an interactive tutorial with Jupyter notebook + excvr availible, feel free to check the statically rendered notebook and follow the instruction to setup the interactive tutorial on your local.
Plotters is a free and open source software under MIT license.
You can find the source code on our Github repository. Currently Plotters is actively maintained and envolving very fast. Any involement, including PR, suggestion, idea and issue is warmly welcomed.