Cargo Features

Plotly has no features set by default.

[dependencies]
plotly = { version = "0.8.4", features = ["kaleido", "plotly_ndarray", "plotly_image", "wasm"] }
kaleido = plotly_kaleido
plotly_ndarray = ndarray

Affects plotly::ndarray, private::trace_vectors_from

plotly_image = image
wasm = getrandom, js-sys, wasm-bindgen, wasm-bindgen-futures

Affects plotly::bindings

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

getrandom wasm?
image plotly_image?

Enables image ^0.24.2

js-sys wasm?
plotly_kaleido kaleido?
ndarray plotly_ndarray?
wasm-bindgen wasm?
wasm-bindgen-futures wasm?