From 1af02fb214ee2e3d00ec04a46e1d4877610b2818 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 27 Dec 2023 20:33:14 +0530 Subject: fix stdev only picking first value --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api.py') diff --git a/api.py b/api.py index 3d99ae8..a52345f 100644 --- a/api.py +++ b/api.py @@ -124,7 +124,7 @@ async def create_plot(request: PlotDataRequest, data: Request): # if request.std_dev_data exists, add to df if len(request.std_dev_data) > 0: - df["STD_DEV"] = request.std_dev_data[0] + df["STD_DEV"] = request.std_dev_data x_data = ["X"] y_data = ["Y"] -- cgit v1.2.3