aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api.py2
1 files changed, 1 insertions, 1 deletions
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"]