From da532b79f315e00158d744cd033ee15f6ab29ce6 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 25 Aug 2023 10:31:09 -0400 Subject: [PATCH] Correct type checks --- src/tools/gui.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tools/gui.rs b/src/tools/gui.rs index e41922b..1de3ee5 100644 --- a/src/tools/gui.rs +++ b/src/tools/gui.rs @@ -106,7 +106,10 @@ impl Tool for Plot { identifier: "plot", description: "Render a list of numbers as a scatter plot graph.", group: "gui", - inputs: vec![ValueType::ListOf(Box::new(ValueType::Integer))], + inputs: vec![ + ValueType::ListOf(Box::new(ValueType::Float)), + ValueType::ListOf(Box::new(ValueType::Integer)), + ], } }