Fix wrong name

This commit is contained in:
Felix Blanke 2023-08-27 23:30:43 +02:00
parent 2412a45d1d
commit dcbec17064

View File

@ -156,9 +156,9 @@ def plot(
# Convert plot to SVG image
imgdata = io.StringIO()
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("/")