Skip to content

Commit 0dda346

Browse files
committed
Comment out matplotlib magic.
1 parent 58d31d5 commit 0dda346

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

run_notebook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def convert_notebook(notebook):
2222

2323
p = re.compile(b"^get_ipython\(\)\.magic\(u?'matplotlib (?P<magic>\w+)'\)",
2424
re.MULTILINE)
25-
script = p.sub(b"get_ipython().magic(u'matplotlib auto')", script)
25+
script = p.sub(b"# get_ipython().magic(u'matplotlib auto')", script)
2626
p = re.compile(b"(?P<magic>^get_ipython\(\)\.magic\(u'pinfo[\w\s]+'\))",
2727
re.MULTILINE)
2828
script = p.sub(b"# \\1", script)

0 commit comments

Comments
 (0)