title: How can I tell Python to end after pylab.show()?
body: <p>I generated a plot in Python using Pylab:</p>
  
  <pre><code>pylab.plot(x, y)
  pylab.show()
  </code></pre>
  
  <p>But now the script seems to block when it completes.  When I break it with <kbd>CTRL</kbd>+<kbd>C</kbd>, the script ends, closing the plot windows.  How can I tell Python not to block?</p>