I used to have two simple shell aliases for IPython:
alias ipy=ipython
alias pylab='ipython --pylab'
These were separated for a couple of reasons:
The pylab mode of IPython was deprecated, for good reason. It “infects” the global namespace with all matplotlib and numpy functions. It breaks two entries in the famous “Zen of Python”:
- Explicit is better than implicit.
- Namespaces are one honking great idea – let’s do more of those!
From a practicality perspective it also is much slower to start up. This is annoying when I quickly want to plot something.