Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1858e65

Browse filesBrowse files
committed
Don't fallback to old ipython_console_highlighting
1 parent 1446c69 commit 1858e65
Copy full SHA for 1858e65

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed

‎doc/conf.py

Copy file name to clipboardExpand all lines: doc/conf.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@
4040
try:
4141
from IPython.sphinxext import ipython_console_highlighting
4242
except ImportError:
43-
extensions.append('matplotlib.sphinxext.ipython_console_highlighting')
43+
raise ImportError(
44+
"IPython must be installed to build the matplotlib docs")
4445
else:
45-
print("Using IPython's ipython_console_highlighting directive")
4646
extensions.append('IPython.sphinxext.ipython_console_highlighting')
4747
extensions.append('IPython.sphinxext.ipython_directive')
48+
4849
try:
4950
import numpydoc
5051
except ImportError:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.