I want buttons and other interactive matplotlib objects to appear from within my ipython notebook.
Here is what I've done:
Installed http://datasciencetoolbox.org, it is a vagrant box with ipython installed and version 1.3.1 of matplotlib.
I needed to upgrade matplotlib to the latest version, because it has this capability to do inline interactive plots. What's new in Matplotlib 1.4.1
I needed to runsudo apt-get install pkg-config
and
sudo pip install matplotlib --upgrade
in order to get that going.Then, in order to produce the nice (i.e. error-free) screenshot below, I went into the
.ipython/dst-profile/ipython_notebook_config.py
file and erased the line aboutIPKernelApp.pylab='inline'
to be able to run thematplotlib.use('nbagg')
command.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!
Oh... and check this out if this helps you help me.
Thanks!