From 16a1076857cf3066dd20bdb157031cb0885ff329 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Mon, 14 Feb 2022 10:09:32 -0500 Subject: [PATCH] cleanup --- src/func_plot.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/func_plot.rs b/src/func_plot.rs index 6942065..dd6d0a8 100644 --- a/src/func_plot.rs +++ b/src/func_plot.rs @@ -48,8 +48,7 @@ pub fn draw( )?; root.present()?; - let output = chart.into_coord_trans(); - Ok((output, area)) + Ok((chart.into_coord_trans(), area)) } // Creates and does the math for creating all the rectangles under the graph