Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 9a63e51 + 1858e65 commit dad692fCopy full SHA for dad692f
1 file changed
doc/conf.py
@@ -40,11 +40,12 @@
40
try:
41
from IPython.sphinxext import ipython_console_highlighting
42
except ImportError:
43
- extensions.append('matplotlib.sphinxext.ipython_console_highlighting')
+ raise ImportError(
44
+ "IPython must be installed to build the matplotlib docs")
45
else:
- print("Using IPython's ipython_console_highlighting directive")
46
extensions.append('IPython.sphinxext.ipython_console_highlighting')
47
extensions.append('IPython.sphinxext.ipython_directive')
48
+
49
50
import numpydoc
51
0 commit comments