Compare commits

..

2 Commits

Author SHA1 Message Date
Felix Blanke
dcbec17064 Fix wrong name 2023-08-27 23:30:43 +02:00
Felix Blanke
2412a45d1d Add missing footer table row 2023-08-27 23:30:25 +02:00

View File

@ -156,9 +156,9 @@ def plot(
# Convert plot to SVG image # Convert plot to SVG image
imgdata = io.StringIO() imgdata = io.StringIO()
fig.savefig(imgdata, format="svg") fig.savefig(imgdata, format="svg")
svgImage.seek(0) # rewind the data imgdata.seek(0) # rewind the data
return svgImage.read() return imgdata.read()
@app.route("/") @app.route("/")
@ -188,6 +188,7 @@ def tables(
tfoot = [ tfoot = [
" <tfoot>", " <tfoot>",
" <tr>",
" <td>Gesamt</td>", " <td>Gesamt</td>",
] ]
for i in range(len(df.columns) - 2): for i in range(len(df.columns) - 2):