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
+9
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,15 @@ 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.9.1] - 2024-09-06
7
+
### Added
8
+
-[[#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
9
+
-[[#227](https://github.com/plotly/plotly.rs/pull/227)] Switch from HTML template render from `askama` to `rinja`
10
+
11
+
### Fixed
12
+
-[[#232](https://github.com/plotly/plotly.rs/pull/232)] Generalize OS detection in the context of opening HTML pages with default app via `xdg-open`
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.9.0"
64
+
plotly = "0.9.1"
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.9.0", features = ["kaleido"] }
106
+
plotly = { version = "0.9.1", 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.9.0", features = ["wasm"] }
133
+
plotly = { version = "0.9.1", 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.9.0"
25
+
plotly = "0.9.1"
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.9.0", features = ["kaleido"] }
100
+
plotly = { version = "0.9.1", features = ["kaleido"] }
0 commit comments