Important Note: Before running a PyQt application in Spyder, you need to change your Graphics backend to Automatic. You can do that by going to The most common problem when running a PyQt application ...