Skip to content

Commit

Permalink
Reuse plotly's redraw function provided by [Narcha](plotly/plotly.rs#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ionizing committed Sep 15, 2024
1 parent 1b90157 commit 8b122d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
8 changes: 5 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rsgrad"
version = "0.5.1"
version = "0.5.2"
authors = ["Ionizing <[email protected]>"]
edition = "2018"

Expand All @@ -24,8 +24,8 @@ anyhow = "1.0"
flate2 = "1.0"
directories = "4.0"
serde = "1.0"
plotly = { git = "https://github.com/Ionizing/plotly", rev = "5e5af76b95c1093d5b0523c9800927178c3245ec", features = ["plotly_ndarray"] }
#plotly = { version = "0.9.0", features = ["plotly_ndarray"] }
#plotly = { git = "https://github.com/Ionizing/plotly", rev = "5e5af76b95c1093d5b0523c9800927178c3245ec", features = ["plotly_ndarray"] }
plotly = { version = "0.9.0", features = ["plotly_ndarray"] }
toml = "0.8"
indexmap = { version = "1.8", features = ["serde"] }
rand = "0.8"
Expand Down
3 changes: 2 additions & 1 deletion src/commands/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,9 @@ See \"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value for availed n


pub fn generate_plotly_configuration() -> plotly::Configuration {
plotly::Configuration::new()
plotly::Configuration::default()
.responsive(true)
.fill_frame(true)
}


Expand Down

0 comments on commit 8b122d5

Please sign in to comment.