[IPython-dev] A request for help reviewing/testing a branch

John Hunter jdh2358 at gmail.com
Sat Jan 9 22:53:07 EST 2010


On Sat, Jan 9, 2010 at 9:40 PM, Fernando Perez <fperez.net at gmail.com> wrote:
> On Sat, Jan 9, 2010 at 7:38 PM, John Hunter <jdh2358 at gmail.com> wrote:
>>
>>
>>
>> Must be missing something obvious....
>
> Well, I am :)  I just forgot to commit the file!
>
> Do a bzr pull again, it should be there now.
>
> Thanks!

OK, that worked.  The following worked for me using svn mpl and your
ipy branch (line 6 generated a plot)-- nice work!

msierig at pinchiepie:~$ PYTHONPATH=~/dev/lib/python2.6/site-packages/
~/dev/bin/ipython
Python 2.6.4 (r264:75706, Dec  7 2009, 18:45:15)
Type "copyright", "credits" or "license" for more information.

IPython 0.11.bzr.r1219 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: 1+1
Out[1]: 2

In [2]: plot([1,2,3])
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/home/msierig/<ipython console> in <module>()

NameError: name 'plot' is not defined

In [4]: help pylab
------> help(pylab)
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/home/msierig/<ipython console> in <module>()

NameError: name 'pylab' is not defined

In [5]: %pylab

Welcome to pylab, a matplotlib-based Python environment [backend: GTKAgg].
For more information, type 'help(pylab)'.

In [6]: plot([1,2,3])
/home/msierig/dev/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py:621:
DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips = gtk.Tooltips()
Out[6]: [<matplotlib.lines.Line2D object at 0xab06aec>]


In [7]: matplotlib.rcParams['backend']
Out[7]: 'GTKAgg'

In [8]:



More information about the IPython-dev mailing list