#![recursion_limit = "256"] extern crate askama;
extern crate rand;
extern crate serde;
#[cfg(feature = "kaleido")]
#[deprecated(
since = "0.13.0",
note = "kaleido feature is deprecated and will be removed in version 0.15.0. Use plotly_static feature instead"
)]
const _KALEIDO_DEPRECATED: () = ();
#[cfg(feature = "kaleido_download")]
#[deprecated(
since = "0.13.0",
note = "kaleido_download feature is deprecated and will be removed in version 0.15.0. Use plotly_static_download feature instead"
)]
const _KALEIDO_DOWNLOAD_DEPRECATED: () = ();
#[cfg(all(feature = "kaleido", target_family = "wasm"))]
compile_error!(
r#"The "kaleido" feature is not available on "wasm" targets. Please compile without this feature for the wasm target family."#
);
#[cfg(all(feature = "kaleido", feature = "plotly_static"))]
compile_error!(
r#"The "kaleido" feature and "plotly_static" are conflictings. Please select only one of them."#
);
#[cfg(feature = "plotly_ndarray")]
pub mod ndarray;
#[cfg(feature = "plotly_ndarray")]
pub use crate::ndarray::ArrayTraces;
#[cfg(target_family = "wasm")]
pub mod bindings;
#[cfg(target_family = "wasm")]
pub mod callbacks;
pub mod common;
pub mod configuration;
pub mod export;
pub mod layout;
pub mod plot;
pub mod traces;
pub use common::color;
pub use configuration::Configuration;
pub use layout::Layout;
pub use plot::{Plot, Trace, Traces};
pub use traces::{
box_plot, contour, heat_map, histogram, image, mesh3d, sankey, scatter, scatter3d,
scatter_mapbox, surface,
};
pub use traces::{
Bar, BoxPlot, Candlestick, Contour, DensityMapbox, HeatMap, Histogram, Image, Mesh3D, Ohlc,
Pie, Sankey, Scatter, Scatter3D, ScatterGeo, ScatterMapbox, ScatterPolar, Surface, Table,
};
pub trait Restyle: serde::Serialize {}
pub trait Relayout {}
#[cfg(feature = "kaleido")]
pub use plotly_kaleido::ImageFormat;
#[cfg(feature = "plotly_static")]
pub use plotly_static::{self, ImageFormat};
pub mod prelude {
#[cfg(feature = "plotly_static")]
pub use crate::export::r#async::ExporterAsyncExt;
#[cfg(feature = "plotly_static")]
pub use crate::export::sync::ExporterSyncExt;
#[cfg(feature = "plotly_static")]
pub use crate::plotly_static::ImageFormat;
}
#[doc(hidden)]
mod private;