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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11-11
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,19 @@ 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).
-[[#181](https://github.com/plotly/plotly,rs/pull/181)] Fix compilation error when mixing the crate with `askama/with-axum` by adding `with-axum` feature.
10
-
-[[#180](https://github.com/plotly/plotly.rs/pull/180)] Add setter for `Mapbox::domain`.
11
-
-[[#178](https://github.com/plotly/plotly.rs/pull/178)] Fix setter for `Axis::matches` to take string arg.
12
-
-[[#166](https://github.com/plotly/plotly.rs/pull/166)] Added subplot example with multiple titles.
-[[#159](https://github.com/plotly/plotly.rs/pull/159)] Make `heat_map` module public to expose `Smoothing enum`.
16
-
-[[#157](https://github.com/plotly/plotly.rs/pull/157)] Fix `HeatMap`'s setters for correctly setting `zmin`, `zmax` and `zmin` independent of `Z` input type.
17
-
-[[#154](https://github.com/plotly/plotly.rs/pull/154)] Improve ergonomics of `Title` and `LegendGroupTitle` structs: `new` method now takes no arguments as per other structs, whilst a new `with_text()` constructor is added for convenience. Where other structs contain a `Title` (and `LegendGroupTitle`), users can now call the `title()` (and `legend_group_title()`) method with anything that `impl`s `Into<Title>`, viz. `String`, `&String`, `&str` and `Title`.
-[[#154](https://github.com/plotly/plotly.rs/pull/154)] Improve ergonomics of `Title` and `LegendGroupTitle` structs: `new` method now takes no arguments as per other structs, whilst a new `with_text()` constructor is added for convenience. Where other structs contain a `Title` (and `LegendGroupTitle`), users can now call the `title()` (and `legend_group_title()`) method with anything that `impl`s `Into<Title>`, viz. `String`, `&String`, `&str` and `Title`.
10
+
-[[#157](https://github.com/plotly/plotly.rs/pull/157)] Fix `HeatMap`'s setters for correctly setting `zmin`, `zmax` and `zmin` independent of `Z` input type.
11
+
-[[#159](https://github.com/plotly/plotly.rs/pull/159)] Make `heat_map` module public to expose `Smoothing enum`.
-[[#166](https://github.com/plotly/plotly.rs/pull/166)] Added subplot example with multiple titles.
15
+
-[[#178](https://github.com/plotly/plotly.rs/pull/178)] Fix setter for `Axis::matches` to take string arg.
16
+
-[[#180](https://github.com/plotly/plotly.rs/pull/180)] Add setter for `Mapbox::domain`.
17
+
-[[#181](https://github.com/plotly/plotly,rs/pull/181)] Fix compilation error when mixing the crate with `askama/with-axum` by adding `with-axum` feature.
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.8.4"
64
+
plotly = "0.9.0"
65
65
```
66
66
67
67
## Exporting an 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.8.4", features = ["kaleido"] }
106
+
plotly = { version = "0.9.0", 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.8.4", features = ["wasm"] }
133
+
plotly = { version = "0.9.0", 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/getting_started.md
+2-2
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.8.4"
25
+
plotly = "0.9.0"
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.8.4", features = ["kaleido"] }
100
+
plotly = { version = "0.9.0", features = ["kaleido"] }
0 commit comments