/plotly

Plotly for Rust

Primary LanguageRustOtherNOASSERTION

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:

[dependencies]
plotly = "0.7.0"

Documentation is available in the Plotly.rs Book and Recipes.

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.

Saving to png, jpeg, webp, svg, pdf and eps formats can be made available by enabling the kaleido feature:

[dependencies]
plotly = { version = "0.7.0", 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.