Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Try running %pylab inline in a notebook cell before executing the plot.

share|improve this answer
    
Interesting. I did start it with $ ipython notebook pylab=inline, just as I would in OSX or Windows. Isn't it supposed to work in Debian too? –  dmvianna May 25 '13 at 10:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.