title: Why does Spyder not display my graphics output anywhere when I am using Pygame?
body: <p>I managed to install Pygame into my MacOS anaconda python 3.6 instance -- I simply put it into the "root" environment. The way I installed -- when I knew that the anaconda python was activated, I simply went to the command line and did pip install pygame.</p>
  
  <p>But now, when I am in Spyder, and I load up a smallish python app that I wrote that uses Pygame, the app seems to run OK with no errors BUT it does not show the graphics output in any window or tab anywhere! I've tried alt-tabbing around...   [For comparison... when I tried to run another small app I made that uses tkinter, then it presents the graphics by creating a separate app/window I can alt-tab to... shows a feather as the icon for that window when I alt tab to it.]</p>
  
  <p>I played a little with the Spyder preferences>Ipython preferences>graphics... tried "Automatic," "inline," and Tkinter... none had any effect.</p>
  
  <p>Two supporting things:</p>
  
  <p>1-- note that, when I run anaconda's Spyder from the command line, for some reason it shows this string of warning errors... any tips on this for me? It is:</p>
  
  <pre><code>Erics-MacBook-Pro:~ ericstephan$ spyder
  [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
  [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
  [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
  [[and six more lines of the same]]
  </code></pre>
  
  <p>2-- If it helps troubleshoot, below I will paste my pygame-using app whose graphics appears nowhere in Spyder. Makes many many little confetti sprites that flutter and bounce. Hey, it's a fun little app, if you replace numdots with something big like 500, it's pretty cool... when it's visible!
  Here is the problem pygame app: Stackexchange editor wouldn't allow it so you can see it at <a href="https://pastebin.com/1Aa8pVDq" rel="nofollow noreferrer">https://pastebin.com/1Aa8pVDq</a></p>