We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3acc2 commit 3bcf756Copy full SHA for 3bcf756
doc/users/figures/make.py
@@ -1,11 +1,13 @@
1
#!/usr/bin/env python
2
import sys, os, glob
3
import matplotlib
4
-import IPython.Shell
+#import IPython.Shell # for Ipython 0.10
5
+import IPython.core.interactiveshell
6
matplotlib.rcdefaults()
7
matplotlib.use('Agg')
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
11
12
formats = [('png', 100),
13
('hires.png', 200),
0 commit comments