Cargo Features

Plotly has no features set by default.

[dependencies]
plotly = { version = "0.11.0", features = ["kaleido", "plotly_ndarray", "plotly_image", "plotly_embed_js", "wasm", "with-axum"] }
kaleido = plotly_kaleido
plotly_ndarray = ndarray

Affects plotly::ndarray, private::trace_vectors_from

plotly_image = image
plotly_embed_js

Embed JavaScript into library and templates for offline use

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

Affects plotly::bindings

with-axum = rinja_axum

Enables with-axum of rinja

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.

rinja_axum with-axum?
getrandom wasm?
image plotly_image?
js-sys wasm?
plotly_kaleido kaleido?
ndarray plotly_ndarray?
wasm-bindgen wasm?
wasm-bindgen-futures wasm?