Plotly.rs

Plotly for Rust
Getting Started | Recipes | API Docs | Changelog
build status Crates.io Downloads Documentation Minimum Version

A plotting library for Rust powered by Plotly.js.

Usage

Add this to your Cargo.toml:

toml [dependencies] plotly = "0.8.1"

For changes since the last version please consult the change log.

Crate Feature Flags

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.

Contributing

Please consult the contributing guide.

License

Plotly.rs is distributed under the terms of the MIT license.

See LICENSE-MIT, and COPYRIGHT for details.