diff --git a/README.md b/README.md index 1f982ae9..ad9fb845 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -plotly = "0.13" +plotly = "0.14" ``` ## Exporting a single Interactive Plot @@ -103,7 +103,7 @@ The recommended way to export static images is using the `plotly_static` backend ```toml [dependencies] -plotly = { version = "0.13", features = ["static_export_default"] } +plotly = { version = "0.14", features = ["static_export_default"] } ``` This supports PNG, JPEG, WEBP, SVG, and PDF formats: @@ -136,7 +136,7 @@ Enable the `kaleido` feature and opt in for automatic downloading of the `kaleid # Cargo.toml [dependencies] -plotly = { version = "0.13", features = ["kaleido", "kaleido_download"] } +plotly = { version = "0.14", features = ["kaleido", "kaleido_download"] } ``` Alternatively, enable only the `kaleido` feature and manually install Kaleido. @@ -144,7 +144,7 @@ Alternatively, enable only the `kaleido` feature and manually install Kaleido. # Cargo.toml [dependencies] -plotly = { version = "0.13", features = ["kaleido"] } +plotly = { version = "0.14", features = ["kaleido"] } ``` With the feature enabled, plots can be saved as any of `png`, `jpeg`, `webp`, `svg`, `pdf` and `eps`. Note that the plot will be a static image, i.e. they will be non-interactive. diff --git a/docs/book/src/fundamentals/static_image_export.md b/docs/book/src/fundamentals/static_image_export.md index 2c4f6265..24a93224 100644 --- a/docs/book/src/fundamentals/static_image_export.md +++ b/docs/book/src/fundamentals/static_image_export.md @@ -23,15 +23,15 @@ The static export functionality is controlled by feature flags in the main `plot ```toml # Basic usage with manual Chromedriver installation [dependencies] -plotly = { version = "0.13", features = ["static_export_chromedriver"] } +plotly = { version = "0.14", features = ["static_export_chromedriver"] } # With automatic Chromedriver download [dependencies] -plotly = { version = "0.13", features = ["static_export_chromedriver", "static_export_wd_download"] } +plotly = { version = "0.14", features = ["static_export_chromedriver", "static_export_wd_download"] } # Recommended: Default configuration with Chromedriver + auto-download [dependencies] -plotly = { version = "0.13", features = ["static_export_default"] } +plotly = { version = "0.14", features = ["static_export_default"] } ``` > Enabling any of the static export features in `plotly` (`static_export_chromedriver`, `static_export_geckodriver`, or `static_export_default`) enables both APIs from `plotly_static`: the sync `StaticExporter` and the async `AsyncStaticExporter` (reachable as `plotly::plotly_static::AsyncStaticExporter`). Prefer the async API inside async code. diff --git a/docs/book/src/getting_started.md b/docs/book/src/getting_started.md index a142c70c..5fa95ddc 100644 --- a/docs/book/src/getting_started.md +++ b/docs/book/src/getting_started.md @@ -22,7 +22,7 @@ To start using [plotly.rs](https://github.com/plotly/plotly.rs) in your project ```toml [dependencies] -plotly = "0.13" +plotly = "0.14" ``` [Plotly.rs](https://github.com/plotly/plotly.rs) is ultimately a thin wrapper around the `plotly.js` library. The main job of this library is to provide `structs` and `enums` which get serialized to `json` and passed to the `plotly.js` library to actually do the heavy lifting. As such, if you are familiar with `plotly.js` or its derivatives (e.g. the equivalent Python library), then you should find [`plotly.rs`](https://github.com/plotly/plotly.rs) intuitive to use. @@ -97,7 +97,7 @@ To add the ability to save plots in the following formats: png, jpeg, webp, svg, ```toml [dependencies] -plotly = { version = "0.13", features = ["kaleido"] } +plotly = { version = "0.14", features = ["kaleido"] } ``` ## Static Image Export with WebDriver (recommended) @@ -106,7 +106,7 @@ For static image export using WebDriver and headless browsers, you can use the ` ```toml [dependencies] -plotly = { version = "0.13", features = ["static_export_default"] } +plotly = { version = "0.14", features = ["static_export_default"] } ``` The `static_export_default` feature includes Chrome WebDriver support with automatic download. For Firefox support, use `static_export_geckodriver` instead. See the [Static Image Export](../fundamentals/static_image_export.md) chapter for a detailed usage example. diff --git a/examples/static_export/README.md b/examples/static_export/README.md index c5f03936..12c4ef27 100644 --- a/examples/static_export/README.md +++ b/examples/static_export/README.md @@ -36,13 +36,13 @@ The example uses `static_export_default` which includes: ```toml # Use Firefox instead of Chrome/Chromium -plotly = { version = "0.13", features = ["static_export_geckodriver", "static_export_wd_download"] } +plotly = { version = "0.14", features = ["static_export_geckodriver", "static_export_wd_download"] } # Manual Geckodriver installation (no automatic download) -plotly = { version = "0.13", features = ["static_export_geckodriver"] } +plotly = { version = "0.14", features = ["static_export_geckodriver"] } # Manual Chromedriver installation (no automatic download) -plotly = { version = "0.13", features = ["static_export_chromedriver"] } +plotly = { version = "0.14", features = ["static_export_chromedriver"] } ``` ## Running the Example(s)