Compare commits
2 Commits
2916db7858
...
dcbec17064
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dcbec17064 | ||
|
|
2412a45d1d |
5
wsgi.py
5
wsgi.py
@ -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):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user