You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- bump edition to 2021
- set resolver to 2 to bypasses latest wasm-bindgen bug: rustwasm/wasm-bindgen#4304
- remove patch versioning from all dependencies
Signed-off-by: Andrei Gherghescu <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
3
3
4
4
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
6
-
## [0.11.0] - 2024-11-x
6
+
## [0.11.0] - 2024-11-30
7
7
### Changed
8
8
-[[#251](https://github.com/plotly/plotly.rs/pull/251)] Expose image data as String with `to_base64` and `to_svg` using Kaleido
9
9
-[[#245](https://github.com/plotly/plotly.rs/pull/245)] Change Contours size to be `f64` instead of `usize`
@@ -25,7 +25,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
25
25
### Fixed
26
26
-[[#230](https://github.com/plotly/plotly.rs/pull/230)] Make Bar chart `width` and `offset` use `f64` values.
27
27
28
-
## [0.10.0] - 2024-09-06
28
+
## [0.9.1] - 2024-09-06
29
29
### Added
30
30
-[[#217](https://github.com/plotly/plotly.rs/pull/217)] Added show_html(filename) method to bypass situations where accessing default `/tmp` is not possible, e.g., with in SNAP Firefox
31
31
-[[#227](https://github.com/plotly/plotly.rs/pull/227)] Switch from HTML template render from `askama` to `rinja`
Copy file name to clipboardExpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ Add this to your `Cargo.toml`:
61
61
62
62
```toml
63
63
[dependencies]
64
-
plotly = "0.10.0"
64
+
plotly = "0.11"
65
65
```
66
66
67
67
## Exporting a single Interactive Plot
@@ -103,7 +103,7 @@ To save a plot as a static image, the `kaleido` feature is required:
103
103
# Cargo.toml
104
104
105
105
[dependencies]
106
-
plotly = { version = "0.10.0", features = ["kaleido"] }
106
+
plotly = { version = "0.11", features = ["kaleido"] }
107
107
```
108
108
109
109
With this 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.
@@ -130,7 +130,7 @@ Using `Plotly.rs` in a Wasm-based frontend framework is possible by enabling the
130
130
# Cargo.toml
131
131
132
132
[dependencies]
133
-
plotly = { version = "0.10.0", features = ["wasm"] }
133
+
plotly = { version = "0.11", features = ["wasm"] }
134
134
```
135
135
136
136
First, make sure that you have the Plotly JavaScript library in your base HTML template:
Copy file name to clipboardExpand all lines: docs/book/src/fundamentals/ndarray_support.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
To enable [ndarray](https://github.com/rust-ndarray/ndarray) support in [Plotly.rs](https://github.com/plotly/plotly.rs) add the following feature to your `Cargo.toml` file:
4
4
```toml
5
5
[dependencies]
6
-
plotly = { version = ">=0.7.0", features = ["plotly_ndarray"] }
6
+
plotly = { version = ">=0.7", features = ["plotly_ndarray"] }
7
7
```
8
8
9
9
This extends the [Plotly.rs](https://github.com/plotly/plotly.rs) API in two ways:
Copy file name to clipboardExpand all lines: docs/book/src/getting_started.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ To start using [plotly.rs](https://github.com/plotly/plotly.rs) in your project
22
22
23
23
```toml
24
24
[dependencies]
25
-
plotly = "0.10.0"
25
+
plotly = "0.11"
26
26
```
27
27
28
28
[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,
97
97
98
98
```toml
99
99
[dependencies]
100
-
plotly = { version = "0.10.0", features = ["kaleido"] }
100
+
plotly = { version = "0.11", features = ["kaleido"] }
101
101
```
102
102
103
103
## WebAssembly Support
@@ -106,7 +106,7 @@ As of v0.8.0, [plotly.rs](https://github.com/plotly/plotly.rs) can now be used i
106
106
107
107
```toml
108
108
[dependencies]
109
-
plotly = { version = ">=0.8.0"features = ["wasm"] }
109
+
plotly = { version = ">=0.8"features = ["wasm"] }
110
110
```
111
111
112
112
The `wasm` feature exposes rudimentary bindings to the `plotly.js` library, which can then be used in a `wasm` environment such as the [`Yew`](https://yew.rs/) frontend framework.
0 commit comments