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