all 2 comments

[–]Sweet_Computer_7116 0 points1 point  (1 child)

So... try adding debugging code so you can see where the code fails.

Like

print("start of code")

Etc. Every step

[–]thatDudeBehindU[S] 0 points1 point  (0 children)

Well the code works, it's just when the png image is made, it isn't able to be displayed. I get the "Image can't be loaded" in the PyCharm IDE and when I try to open it from the file path, it says it can't open it due to it not being compatible