Skip to content
  • t h @proftrex ·

    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?

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment