When I try to open the generated .png file, I get the following: 