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

Skip to content

Commit b832558

Browse files
committed
temporary hack to make mathpng extension work with the way we organized
doc/ svn path=/trunk/matplotlib/; revision=5325
1 parent 16ec843 commit b832558

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

doc/sphinxext/mathpng.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def latex2html(node, source):
100100
for i in range(count):
101101
if os.path.exists(path): break
102102
path = '../'+path
103+
path = '../'+path #specifically added for matplotlib
103104
if inline and '_' in latex:
104105
align = 'align="absmiddle" '
105106
else:

0 commit comments

Comments
 (0)