[IPython-user] ipython emacs pylab?
Fernando Perez
fperez.net@gmail....
Thu Jul 3 01:05:03 CDT 2008
On Wed, Jul 2, 2008 at 10:51 PM, David Strozzi <david.strozzi@gmail.com> wrote:
> Hi,
>
> Is there a way to make ipython play nicely w/ matplotlib (namely,
> pylab) from within emacs? In a plain terminal, you can do ipython
> -pylab. Then, when you plot something, you don't have to type show()
> to see it, or kill the figure to get to the prompt.
>
> I'm almost certain there's a way. But I re-installed linux and a
> bunch of stuff got lost... Perusal of the web hasn't helped so far.
Yup, just use this in your .emacs file
;; Configure the ipython call for pylab use
(setq py-python-command-args '("-pylab" "-colors" "LightBG"))
(obviously adjust to taste).
> Whatever the answer, perhaps it should be added to the comments in
> ipython.el, or to:
>
> http://ipython.scipy.org/doc/manual/index.html#x-emacs-configuration
Will do.
Cheers,
f
More information about the IPython-user
mailing list