Permalink
Browse files

Merge pull request #1128 from minrk/pylab

* pylab profile removed
* pylab StartMenu item uses default profile and `--pylab`
  • Loading branch information...
2 parents 82d3f4f + beff82d commit d6447c1d5e653e24c9f363ffa328e41e62f1e22d @minrk minrk committed Dec 13, 2011
Showing with 2 additions and 25 deletions.
  1. +0 −23 IPython/config/profile/pylab/ipython_config.py
  2. +2 −2 scripts/ipython_win_post_install.py
@@ -1,23 +0,0 @@
-c = get_config()
-app = c.InteractiveShellApp
-
-# This can be used at any point in a config file to load a sub config
-# and merge it into the current one.
-load_subconfig('ipython_config.py', profile='default')
-
-lines = """
-import matplotlib
-%gui qt
-matplotlib.use('qt4agg')
-matplotlib.interactive(True)
-from matplotlib import pyplot as plt
-from matplotlib.pyplot import *
-"""
-
-# You have to make sure that attributes that are containers already
-# exist before using them. Simple assigning a new list will override
-# all previous values.
-if hasattr(app, 'exec_lines'):
- app.exec_lines.append(lines)
-else:
- app.exec_lines = [lines]
@@ -95,8 +95,8 @@ def install():
# mkshortcut(python, 'IPython (command prompt mode)', link, cmd, workdir)
link = pjoin(ip_start_menu, 'pylab.lnk')
- cmd = '"%s" profile=pylab --init' % ipybase
- mkshortcut(python, 'IPython (pylab profile)', link, cmd, workdir)
+ cmd = '"%s" --pylab' % ipybase
+ mkshortcut(python, 'IPython (pylab mode)', link, cmd, workdir)
link = pjoin(ip_start_menu, 'ipcontroller.lnk')
cmdbase = suffix(pjoin(scripts, 'ipcontroller'))

0 comments on commit d6447c1

Please sign in to comment.