aboutsummaryrefslogtreecommitdiff
path: root/api.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2024-03-27 12:35:30 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2024-03-27 12:35:30 -0600
commitc9d4623526b6c7a6c0e4ad749a05ea05a22089bd (patch)
treefaeb21fa8c4eefba4aa9188d52fa585927bfc4f3 /api.py
parentd80df0115644ac65c747e57054fe54c7ef899bfa (diff)
fix keyword argument
Diffstat (limited to 'api.py')
-rw-r--r--api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.py b/api.py
index b331879..03fd303 100644
--- a/api.py
+++ b/api.py
@@ -155,7 +155,7 @@ async def create_plot(request: PlotDataRequest, data: Request):
title=request.title, x_label=request.x_label, y_label=request.y_label,
enable_trendline=request.enable_trendline, enable_grid=request.enable_grid,
constant_line=constant_line,
- x_axis_scale=request.x_axis_scale, y_axis_scale=request.y_axis_scale, enable_trendline=request.enable_trendline)
+ x_axis_scale=request.x_axis_scale, y_axis_scale=request.y_axis_scale, trendline_equation=request.trendline_equation)
buf = BytesIO()
fig.savefig(buf, format="png")