Skip to content

Commit e38dcd5

Browse files
⬆️ Update ndarray requirement from 0.16 to 0.17 (#54)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Bernard <david.bernard.31@gmail.com>
1 parent 9d667cc commit e38dcd5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ derive_builder = "0.20"
2121
derive_more = { version = "2.0", default-features = false, features = ["from"] }
2222
showata = { version = "0.3", optional = true }
2323
anyhow = { version = "1.0", optional = true }
24-
ndarray = { version = "0.16", default-features = false, features = [
24+
ndarray = { version = "0.17", default-features = false, features = [
2525
"serde",
2626
], optional = true }
2727
csv = { version = "1.1", default-features = false, optional = true }
@@ -36,7 +36,7 @@ polars = { version = "0.53", default-features = false, features = [
3636

3737
[dev-dependencies]
3838
csv = { version = "1.1", default-features = false }
39-
ndarray-rand = { version = "0.15", default-features = false }
39+
ndarray-rand = { version = "0.16", default-features = false }
4040
polars = { version = "0.53", default-features = false, features = ["csv"] }
4141

4242
[features]

examples/from_mixed_json_rust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
1919
"mark": "point",
2020
"title": "Random points"
2121
}"##;
22-
let values: Array2<f64> = Array::random((100, 2), Uniform::new(0., 1000.));
22+
let values: Array2<f64> = Array::random((100, 2), Uniform::new(0., 1000.)?);
2323
let mut chart: Vegalite = serde_json::from_str(spec)?;
2424
chart.data = values.into();
2525
// display the chart using `showata`

0 commit comments

Comments
 (0)