#plot #chart #plotly


A plotting library powered by Plotly.js (patched)

1 unstable release

0.6.0-unofficial… Apr 27, 2021

#294 in Visualization

MIT license

7.5K SLoC


Plotly for Rust
build status | Crates.io | Documentation | Minimum Version

A plotting library for Rust powered by Plotly.js.


Add this to your Cargo.toml:

plotly = "0.6.0"

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:

plotly = { version = "0.6.0", 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.


~77K SLoC