[IPython-User] How to enable the inline option in IPython profile

Jose Guzman sjm.guzman@gmail....
Sat Apr 20 07:35:22 CDT 2013


It says:
%config IPKernelApp.pylab

UsageError: Invalid config statement: u'IPKernelApp.pylab', should be 
Class.trait = value


On 20/04/13 14:17, Juergen Hasch wrote:
> What does
>      %config IPKernelApp.pylab
> return in the notebook ?
>
> Am 20.04.2013 13:51, schrieb Jose Guzman:
>> To like having  the figures from matplotlib as output within a
>> noteboook, for that I always start my notebook with the following
>> command:
>>
>> $> ipython notebook --pylab inline
>>
>> I wanted to create a custom profile and have the inline option in it,
>> for example:
>>
>> $> ipython notebook --profile=mypylab
>>
>> I edited in ipython_notebook_config.py the line
>>
>> c.IPKernelApp.pylab = inline
>>
>> expecting to have both matplotlib and NumPy, plus the plots inside the
>> notebook. However, nothing of this worked, and the graphics are plotted
>> outside of the browser. What am I doing wrong?
>>
>> Best
>>
>> Jose
>>
>


-- 
Jose Guzman
http://www.ist.ac.at/~jguzman/


More information about the IPython-User mailing list