##// END OF EJS Templates
Merge pull request #1335 from ellisonbg/nbtoolbar...
Merge pull request #1335 from ellisonbg/nbtoolbar Add a toolbar with icons to the notebook interface. There are for now icons for the most important actions, we will slowly consider the addition of new ones later as necessary. But this should make everyday usage much more fluid for mouse-based users. The new toolbar and the header bar have also been made collapsible, which allows users to have a very compact view with only minimal vertical space devoted to the UI and most of the screen available as usable work space.

File last commit:

r2267:928c921b
r5997:d885b850 merge
Show More
ipy_profile_scipy.py
29 lines | 681 B | text/x-python | PythonLexer
""" IPython 'scipy' profile, preloads NumPy and SciPy.
This profile loads the math/cmath modules as well as all of numpy and scipy.
It exposes numpy and scipy via the 'np' and 'sp' shorthands as well for
convenience.
"""
from IPython.core import ipapi
import ipy_defaults
def main():
ip = ipapi.get()
try:
ip.ex("import math,cmath")
ip.ex("import numpy")
ip.ex("import scipy")
ip.ex("import numpy as np")
ip.ex("import scipy as sp")
ip.ex("from numpy import *")
ip.ex("from scipy import *")
except ImportError:
print "Unable to start scipy profile, are numpy and scipy installed?"
main()