title: Jupyter shows plot without plt.show()
body: <p>I am using the Jupyter notebook with Python 2.7. Importing matplotlib like this:</p>
  
  <pre><code>%matplotlib inline    
  import matplotlib.pyplot as plt
  </code></pre>
  
  <p>But I have observed one thing. When I use Python in Spyder I always have to use the <code>plt.show()</code> command at the end of the python script in order to see the plots.</p>
  
  <p>In Jupyter I do not need this command in order to see a plot. I do get this error message:</p>
  
  <pre><code>[&lt;matplotlib.lines.Line2D at 0x91615d0&gt;]
  </code></pre>
  
  <p>but it still makes a plot. Why is that?</p>