We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58d31d5 commit 0dda346Copy full SHA for 0dda346
1 file changed
run_notebook.py
@@ -22,7 +22,7 @@ def convert_notebook(notebook):
22
23
p = re.compile(b"^get_ipython\(\)\.magic\(u?'matplotlib (?P<magic>\w+)'\)",
24
re.MULTILINE)
25
- script = p.sub(b"get_ipython().magic(u'matplotlib auto')", script)
+ script = p.sub(b"# get_ipython().magic(u'matplotlib auto')", script)
26
p = re.compile(b"(?P<magic>^get_ipython\(\)\.magic\(u'pinfo[\w\s]+'\))",
27
28
script = p.sub(b"# \\1", script)
0 commit comments