title: How do I fix the deprecation warning that comes with pylab.pause?
body: <p>A short python program to demonstrate a bug I keep running into:</p>
  
  <pre><code>import pylab
  pylab.ion()
  pylab.title('doom')
  pylab.pause(0)
  </code></pre>
  
  <p>If I run it, it works fine, but I get this warning:</p>
  
  <pre><code>/usr/lib/pymodules/python2.7/matplotlib/backend_bases.py:2280: MatplotlibDeprecationWarning: Using default event loop until function specific to this GUI is implemented
  </code></pre>
  
  <p>If I remove the pause line, then I don't get the warning, but my plot ceases to exist as soon as the program finishes.</p>
  
  <p>I should like an elegant way to get the behaviour without the warning. Can anyone help?</p>