Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
plotly = "0.13"
plotly = "0.14"
```

## Exporting a single Interactive Plot
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -136,15 +136,15 @@ 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.
```toml
# 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.
Expand Down
6 changes: 3 additions & 3 deletions docs/book/src/fundamentals/static_image_export.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions docs/book/src/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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)
Expand All @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions examples/static_export/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading