Fix wrong name
This commit is contained in:
parent
2412a45d1d
commit
dcbec17064
4
wsgi.py
4
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("/")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user