title: ipython notebook on linux VM running matplotlib interactive with nbagg
body: <p>I want buttons and other interactive matplotlib objects to appear from within my ipython notebook. <img src="https://i.stack.imgur.com/aQR1m.png" alt="screenshot"></p>
  
  <p>Here is what I've done:</p>
  
  <ol>
  <li><p>Installed <a href="http://datasciencetoolbox.org" rel="nofollow noreferrer">http://datasciencetoolbox.org</a>, it is a vagrant box with ipython installed and version 1.3.1 of matplotlib.</p></li>
  <li><p>I needed to upgrade matplotlib to the latest version, because it has this capability to do inline interactive plots.  <a href="http://matplotlib.org/users/whats_new.html#the-nbagg-backend" rel="nofollow noreferrer">What's new in Matplotlib 1.4.1</a><br>
  I needed to run <code>sudo apt-get install pkg-config</code> and<br>
  <code>sudo pip install matplotlib --upgrade</code>in order to get that going.</p></li>
  <li><p>Then, in order to produce the nice (i.e. error-free) screenshot below, I went into the <code>.ipython/dst-profile/ipython_notebook_config.py</code> file and erased the line about <code>IPKernelApp.pylab='inline'</code> to be able to run the <code>matplotlib.use('nbagg')</code> command.</p></li>
  <li><p>Then I was able to create the screenshot below. However, things still look poor. Those buttons are not buttons.  That is an image of buttons. Please advise on how to make those buttons come to life!</p></li>
  </ol>
  
  <p>Oh... and check <a href="https://stackoverflow.com/questions/19902984/always-start-ipython-with-pylab-being-equal-to-inline-but-toggle-it-off-at-some">this</a> out if this helps you help me.</p>
  
  <p>Thanks!</p>
  
  <p><img src="https://i.stack.imgur.com/aQR1m.png" alt="screenshot"></p>