Skip to content

Commit 3bcf756

Browse files
author
Jeffrey Whitaker
committed
update for IPython 0.11
1 parent 7a3acc2 commit 3bcf756

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/users/figures/make.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#!/usr/bin/env python
22
import sys, os, glob
33
import matplotlib
4-
import IPython.Shell
4+
#import IPython.Shell # for Ipython 0.10
5+
import IPython.core.interactiveshell
56
matplotlib.rcdefaults()
67
matplotlib.use('Agg')
78

8-
mplshell = IPython.Shell.MatplotlibShell('mpl')
9+
#mplshell = IPython.Shell.MatplotlibShell('mpl') # for Ipython 0.10
10+
mplshell = IPython.core.interactiveshell.InteractiveShell() # for Ipython 0.11
911

1012
formats = [('png', 100),
1113
('hires.png', 200),

0 commit comments

Comments
 (0)