Skip to content

Commit

Permalink
Update plotpy version because of breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmech committed Sep 24, 2024
1 parent 6e6a0b4 commit 555ccf5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion russell_lab/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ serde = { version = "1.0", features = ["derive"] }

[dev-dependencies]
criterion = "0.5"
plotpy = "1.1"
plotpy = "1.9"
serde_json = "1.0"
serial_test = "3.0"

Expand Down
2 changes: 1 addition & 1 deletion russell_ode/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ serde_json = "1.0"
structopt = "0.3"

[dev-dependencies]
plotpy = "1.1"
plotpy = "1.9"
rayon = "1.10"
serial_test = "3.0"
2 changes: 1 addition & 1 deletion russell_stat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ rand = "0.8.5"
rand_distr = "0.4.3"

[dev-dependencies]
plotpy = "1.1"
plotpy = "1.9"
10 changes: 5 additions & 5 deletions russell_stat/examples/plot_distribution_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn main() -> Result<(), StrError> {
.set_subplot(2, 1, 2)
.add(&curve_cdf)
.grid_and_labels("$x$", "$CDF(x)$")
.set_super_title(&title, Some(params))
.set_super_title(&title, Some(&params))
.set_figure_size_points(350.0, 500.0)
.save(&path)?;

Expand All @@ -61,7 +61,7 @@ fn main() -> Result<(), StrError> {
.set_subplot(2, 1, 2)
.add(&curve_cdf)
.grid_and_labels("$x$", "$CDF(x)$")
.set_super_title(&title, Some(params))
.set_super_title(&title, Some(&params))
.set_figure_size_points(350.0, 500.0)
.save(&path)?;

Expand All @@ -88,7 +88,7 @@ fn main() -> Result<(), StrError> {
.set_subplot(2, 1, 2)
.add(&curve_cdf)
.grid_and_labels("$x$", "$CDF(x)$")
.set_super_title(&title, Some(params))
.set_super_title(&title, Some(&params))
.set_figure_size_points(350.0, 500.0)
.save(&path)?;

Expand All @@ -115,7 +115,7 @@ fn main() -> Result<(), StrError> {
.set_subplot(2, 1, 2)
.add(&curve_cdf)
.grid_and_labels("$x$", "$CDF(x)$")
.set_super_title(&title, Some(params))
.set_super_title(&title, Some(&params))
.set_figure_size_points(350.0, 500.0)
.save(&path)?;

Expand All @@ -142,7 +142,7 @@ fn main() -> Result<(), StrError> {
.set_subplot(2, 1, 2)
.add(&curve_cdf)
.grid_and_labels("$x$", "$CDF(x)$")
.set_super_title(&title, Some(params))
.set_super_title(&title, Some(&params))
.set_figure_size_points(350.0, 500.0)
.save(&path)?;

Expand Down

0 comments on commit 555ccf5

Please sign in to comment.