Please register or sign in to comment
That gives:
TypeError: bad operand type for unary +: 'str'
I think the line 28 should be
return render_template("image.html", image=pngImageB64String)
i.e. without the +
Thanks! I am relative new to Python and Web Programming and was trying to figure out a way for embeding Matplotlib int HTML. This solution sounds fine and easy to implement.
I made an account just to comment on this. From a senior software engineering student working on a flask web app for senior design, I thank you from the bottom of my heart!
how to set in confussion matrix?