Friday, 24 May 2013

Debian, virtualenv, IPython notebook and matplotlib inline plots

Debian, virtualenv, IPython notebook and matplotlib inline plots

I have been using IPython notebook on both OSX and Windows 7 for a while. Now I'm trying to create a minimal system for me to work on Debian 7 (Wheezy). I installed:
LXDE
Python2.7
python-dev
python-pip
then did a
apt-get build-dep python-matplotlib
Then did a
pip install pip --upgrade
pip install virtualenv
then in virtualenv, installed via pip:
numpy
pandas
matplotlib
ipython
tornado
with this, I can run the IPython notebook, but when I plot anything, I only get the object (not the figure), as in
<matplotlib.axes.AxesSubplot at 0x42bf6d0>
I would really like to see the figures. Can anyone help?

No comments:

Post a Comment