Correct type checks

This commit is contained in:
Jeff 2023-08-25 10:31:09 -04:00
parent da780f4ae5
commit da532b79f3

View File

@ -106,7 +106,10 @@ impl Tool for Plot {
identifier: "plot", identifier: "plot",
description: "Render a list of numbers as a scatter plot graph.", description: "Render a list of numbers as a scatter plot graph.",
group: "gui", group: "gui",
inputs: vec![ValueType::ListOf(Box::new(ValueType::Integer))], inputs: vec![
ValueType::ListOf(Box::new(ValueType::Float)),
ValueType::ListOf(Box::new(ValueType::Integer)),
],
} }
} }