【发布时间】:2013-12-11 17:06:56
【问题描述】:
ipython --pylab 到底是做什么的?
ipython --pylab完全是否等同于:
> ipython
> from pylab import *
如果不是,有什么区别?
假设我在没有 --pylab 参数的情况下启动了 IPython,我怎样才能将它带到与 使用 --pylab 启动它时相同的状态?
【问题讨论】:
-
我认为
--pylab标志的动机是使ipython成为 MATLAB 克隆,因此切换到 python/numpy/scipy/matplotlib 的 MATLAB 用户不必处理import声明。
标签: python matplotlib ipython