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
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ All notable changes to this project will be documented in this file.

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).

## [0.11.1] - 2024-12-X
## [0.12.0] - 2025-01-02
### Changed
-
- [[#256](https://github.com/plotly/plotly.rs/pull/256)] Bump Cargo.toml edition to 2021
- [[#261](https://github.com/plotly/plotly.rs/pull/261)] Updated code of conduct

### Fixed
- [[#265](https://github.com/plotly/plotly.rs/pull/265)] Add Pie Chart trace
- [[#264](https://github.com/plotly/plotly.rs/issues/264)] Derive Deserialize on NamedColor, Rgb and Rgba
- [[#216](https://github.com/plotly/plotly.rs/issues/216)] Opt out of downloading Kaleido binaries and allow users to set Kaleido path via environment variable
- [[#259](https://github.com/plotly/plotly.rs/issues/259)] Mesh3d::new() has wrong signature
- [[#175](https://github.com/plotly/plotly.rs/issues/175)] Put multiple subplots in the same html - added an example using `build_html` crate.
- [[#228](https://github.com/plotly/plotly.rs/issues/228)] Redraw function seems to be broken - added example on generating responsive plots.

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
plotly = "0.11"
plotly = "0.12"
```

## Exporting a single Interactive Plot
Expand Down Expand Up @@ -116,15 +116,15 @@ Enable the `kaleido` feature and opt in for automatic downloading of the `kaleid
# Cargo.toml

[dependencies]
plotly = { version = "0.11", features = ["kaleido", "kaleido_download"] }
plotly = { version = "0.12", features = ["kaleido", "kaleido_download"] }
```

Alternatively, enable only the `kaleido` feature and manually install Kaleido.
```toml
# Cargo.toml

[dependencies]
plotly = { version = "0.11", features = ["kaleido"] }
plotly = { version = "0.12", 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 All @@ -149,7 +149,7 @@ Using `Plotly.rs` in a Wasm-based frontend framework is possible by enabling the
# Cargo.toml

[dependencies]
plotly = { version = "0.11", features = ["wasm"] }
plotly = { version = "0.12", features = ["wasm"] }
```

First, make sure that you have the Plotly JavaScript library in your base HTML template:
Expand Down
4 changes: 2 additions & 2 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.11"
plotly = "0.12"
```

[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.11", features = ["kaleido"] }
plotly = { version = "0.12", features = ["kaleido"] }
```

## WebAssembly Support
Expand Down
8 changes: 4 additions & 4 deletions plotly/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plotly"
version = "0.11.0"
version = "0.12.0"
description = "A plotting library powered by Plotly.js"
authors = ["Ioannis Giagkiozis <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -32,8 +32,8 @@ erased-serde = "0.4"
getrandom = { version = "0.2", features = ["js"], optional = true }
image = { version = "0.25", optional = true }
js-sys = { version = "0.3", optional = true }
plotly_derive = { version = "0.11", path = "../plotly_derive" }
plotly_kaleido = { version = "0.11", path = "../plotly_kaleido", optional = true }
plotly_derive = { version = "0.12", path = "../plotly_derive" }
plotly_kaleido = { version = "0.12", path = "../plotly_kaleido", optional = true }
ndarray = { version = "0.16", optional = true }
once_cell = "1"
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -50,7 +50,7 @@ image = "0.25"
itertools = ">=0.10, <0.15"
itertools-num = "0.1"
ndarray = "0.16"
plotly_kaleido = { version = "0.11", path = "../plotly_kaleido", features = [
plotly_kaleido = { version = "0.12", path = "../plotly_kaleido", features = [
"download",
] }
rand_distr = "0.4"
Expand Down
Loading
Loading