8 releases (5 breaking)

0.7.0 Jan 1, 2022
0.6.0 Jul 25, 2020
0.5.1 Jul 13, 2020
0.4.1 Mar 26, 2020
0.1.0 Jan 26, 2020

#15 in Visualization

Download history 853/week @ 2021-10-07 141/week @ 2021-10-14 138/week @ 2021-10-21 83/week @ 2021-10-28 106/week @ 2021-11-04 55/week @ 2021-11-11 111/week @ 2021-11-18 101/week @ 2021-11-25 108/week @ 2021-12-02 84/week @ 2021-12-09 42/week @ 2021-12-16 32/week @ 2021-12-23 107/week @ 2021-12-30 257/week @ 2022-01-06 262/week @ 2022-01-13 311/week @ 2022-01-20

944 downloads per month
Used in 5 crates

MIT license

4MB
8K SLoC

Plotly.rs

Plotly for Rust

A plotting library for Rust powered by Plotly.js.

Usage

Add this to your Cargo.toml:

[dependencies]
plotly = "0.7.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:

[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.

Dependencies

~5MB
~102K SLoC