Skip to content

Commit

Permalink
Merge pull request #481 from 38/master
Browse files Browse the repository at this point in the history
Upgrade minimum version of Plotters from v0.3.0 to v0.3.1
  • Loading branch information
lemmih committed Jul 25, 2021
2 parents 8522447 + 9fdf3b1 commit 9b991e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Expand Up @@ -37,7 +37,7 @@ tokio = { version = "1.0", default-features = false, features = ["rt"], optional
async-std = { version = "1.9", optional = true }

[dependencies.plotters]
version = "^0.3.0"
version = "^0.3.1"
default-features = false
features = ["svg_backend", "area_series", "line_series"]

Expand Down Expand Up @@ -94,4 +94,4 @@ bench = false

# Enable all of the async runtimes for the docs.rs output
[package.metadata.docs.rs]
features = ["async_futures", "async_smol", "async_std", "async_tokio"]
features = ["async_futures", "async_smol", "async_std", "async_tokio"]
6 changes: 3 additions & 3 deletions src/plot/plotters_backend/summary.rs
Expand Up @@ -46,8 +46,8 @@ pub fn line_comparison(
AxisScale::Logarithmic => draw_line_comarision_figure(
root_area,
unit,
LogRange(x_range),
LogRange(y_range),
x_range.log_scale(),
y_range.log_scale(),
value_type,
series_data,
),
Expand Down Expand Up @@ -211,7 +211,7 @@ pub fn violin(
match axis_scale {
AxisScale::Linear => draw_violin_figure(root_area, unit, x_range, y_range, kdes),
AxisScale::Logarithmic => {
draw_violin_figure(root_area, unit, LogRange(x_range), y_range, kdes)
draw_violin_figure(root_area, unit, x_range.log_scale(), y_range, kdes)
}
}
}
Expand Down

0 comments on commit 9b991e0

Please sign in to comment.