title: Matplotlib output not showing up inline in IPython Notebook despite --pylab inline option
body: <p>I'm starting an IPython Notebook and the matplotlib output does not appear inline, but instead like this:</p>
  
  <pre><code>&lt;matplotlib.figure.Figure at 0x113035310&gt;
  </code></pre>
  
  <p>Here's the code:</p>
  
  <pre><code>from pylab import *
  X = np.linspace(-np.pi, np.pi, 256,endpoint=True)
  C,S = np.cos(X), np.sin(X)
  plot(X,C)
  plot(X,S)
  
  show()
  </code></pre>
  
  <p>The notebook was started with --pylab=inline, and when I check it seems to be correct:</p>
  
  <p><img src="https://i.stack.imgur.com/F7e3T.png" alt="enter image description here"></p>
  
  <p>This is with IPython 1.1.0. When I try it with %pylab inline, I get similar results:</p>
  
  <p><img src="https://i.stack.imgur.com/Og9mn.png" alt="enter image description here"></p>
  
  <p>What else could be the reason that the plot isn't displayed inline?</p>