[IPython-user] ipython help problems

Fernando Perez fperez.net@gmail....
Mon Mar 10 02:28:26 CDT 2008


Hey John,

On Sun, Mar 9, 2008 at 8:44 AM, John Hunter <jdh2358@gmail.com> wrote:
> with ipython svn and mpl 91.2svn, I can do
>
>
>  In [6]: import matplotlib.lines
>
>  In [7]: help matplotlib.lines.Line2D
>  ------> help(matplotlib.lines.Line2D)
>
>
>  and get the right help.  But when I create a line instance
>
>  In [8]: l, = plot([1,2,3])
>
>  In [9]: help l
>  ------> help(l)
>
>  I only get the python object help.
>
>
>  Further, when I do
>  In [11]: l??
>
>  Type:             instance
>  Base Class:       matplotlib.lines.Line2D
>  String Form:   Line2D(_line0)
>  Namespace:        Interactive
>  Docstring [source file open failed]:
>     <no docstring>
>  Constructor Docstring:
>     Create a Line2D instance with x and y data in sequences xdata,
>     ydata
>
>  I get the  [source file open failed] error, even though the source is installed

Fixed in trunk, which is now held in bzr, as you may have seen from
recent discussions:

http://bazaar.launchpad.net/~ipython/ipython/stable-dev/revision/45

You can get the log and the command to download from here:

https://code.launchpad.net/~ipython/ipython/stable-dev

Let me know if you have any issues updating to bzr and I'll cut a build for you.

Take care,

f


More information about the IPython-user mailing list