Re: [Matplotlib-users] The "who" command in Ipython-PyLab

2008-07-11 Thread Eli Brosh
Thanks to Eric and Fernando I will try to update ipython (for some reason I have troubles with that in windows). The ipython -pylab[...] with who() command works but it seems to work only for arrays. i.e. with x = arange(20) it worked but not with x=1. Hence updating ipython remains the only way.

Re: [Matplotlib-users] The "who" command in Ipython-PyLab

2008-07-11 Thread Eric Firing
Eli Brosh wrote: > Thanks Fernando, > I now tried %who. > The result was a huge output, apparently containing all the pylab functions. > This is exactly the thing I was trying to avoid. > I wanted to use the who command to see only the variables I defined as > part of the pylab session. > > Is th

Re: [Matplotlib-users] The "who" command in Ipython-PyLab

2008-07-11 Thread Fernando Perez
On Fri, Jul 11, 2008 at 12:19 PM, Eli Brosh <[EMAIL PROTECTED]> wrote: > Thanks Fernando, > I now tried %who. > The result was a huge output, apparently containing all the pylab functions. > This is exactly the thing I was trying to avoid. > I wanted to use the who command to see only the variables

Re: [Matplotlib-users] The "who" command in Ipython-PyLab

2008-07-11 Thread Eli Brosh
Thanks Fernando, I now tried %who. The result was a huge output, apparently containing all the pylab functions. This is exactly the thing I was trying to avoid. I wanted to use the who command to see only the variables I defined as part of the pylab session. Is there a way to do just this ? thank

Re: [Matplotlib-users] The "who" command in Ipython-PyLab

2008-07-11 Thread Fernando Perez
On Fri, Jul 11, 2008 at 12:02 PM, Eli Brosh <[EMAIL PROTECTED]> wrote: > In [1]: a=2 > > In [2]: who > a > > In [3]: from pylab import * > > In [4]: who > Out[4]: > Why is this happening? Because pylab provides its own who _function_, which overrides the ipython command ('magic function', in i

[Matplotlib-users] The "who" command in Ipython-PyLab

2008-07-11 Thread Eli Brosh
Hello, I am trying to use pylab interactively from the Ipython shell with the -pylab option on windows. Normally, the Ipython shell has the nice "who" command that enables one to see only the variables defined by him, rather than the many non-relevant output produced by the python dir() function.