Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f5a580

Browse files
committed
Fix how ipython_console_highlighting is imported.
svn path=/trunk/matplotlib/; revision=7817
1 parent e0fce96 commit 4f5a580

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

doc/conf.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
# absolute, like shown here.
1919
sys.path.append(os.path.abspath('sphinxext'))
2020

21-
# Import support for ipython console session syntax highlighting (lives
22-
# in the sphinxext directory defined above)
23-
import ipython_console_highlighting
24-
2521
# General configuration
2622
# ---------------------
2723

@@ -30,7 +26,8 @@
3026
extensions = ['matplotlib.sphinxext.mathmpl', 'math_symbol_table',
3127
'sphinx.ext.autodoc', 'matplotlib.sphinxext.only_directives',
3228
'matplotlib.sphinxext.plot_directive', 'inheritance_diagram',
33-
'gen_gallery', 'gen_rst']
29+
'gen_gallery', 'gen_rst',
30+
'matplotlib.sphinxext.ipython_console_highlighting']
3431

3532
# Add any paths that contain templates here, relative to this directory.
3633
templates_path = ['_templates']

0 commit comments

Comments
 (0)