[IPython-user] ipython/matplotlib question (belinda thom)

belinda thom bthom at cs.hmc.edu
Fri Dec 8 21:46:45 CST 2006


Tony,

On Dec 8, 2006, at 9:24 AM, Tony Mannucci wrote:

> At 12:00 PM -0600 12/7/06, ipython-user-request at scipy.org wrote:
>> My next question is this: how can one modify xeamcs's py-shell
>> command so that it calls -pylab when ipython is invoked?
>>
>
> Have you tried (in .emacs file):
>
> (require 'ipython)
> (setq py-python-command-args '("-pylab"))
>
> This is supposed to work. My experience is limited at this point. I
> believe this protocol came from the ipython manual. You also need the
> updated python-mode.el in the proper path for emacs to find.

This worked like a charm!

Thanks,

--b


More information about the IPython-user mailing list