A plotting library for Rust powered by Plotly.js.
Add this to your Cargo.toml
:
toml
[dependencies]
plotly = "0.8.1"
For changes since the last version please consult the change log.
The following feature flags are available:
* kaleido
* Optional, compatible with Rust stable.
* Adds plot save functionality to the following formats: png, jpeg, webp, svg, pdf and eps.
* Requires some additional configuration, see plotly_kaleido.
* plotly_ndarray
* Optional, compatible with Rust stable.
* Adds support for creating plots directly using ndarray types.
* wasm
* Optional, compatible with Rust stable.
* Adds support for building with wasm-unknown-unknown target triple, enabling use within web development.
Saving to png, jpeg, webp, svg, pdf and eps formats can be made available by enabling the kaleido
feature:
toml
[dependencies]
plotly = { version = "0.8.1", features = ["kaleido"] }
For further details please see plotly_kaleido.
Please consult the contributing guide.
Plotly.rs is distributed under the terms of the MIT license.
See LICENSE-MIT, and COPYRIGHT for details.