Running Matplotlib, you can see the image output in the left GUI area. I think this is not the best approach. Running Pygame, you can use a separate window to run Pygame, which I think is more in line ...