Python Figure Not Responding