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

Skip to content

Commit ad21989

Browse files
committed
Merge pull request #3339 from cgohlke/patch-3
DOC : fix paths in MS helphtml output Fix mathmpl images not showing in HTML Help (CHM)
2 parents 2de8b18 + 3320913 commit ad21989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/sphinxext/mathmpl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def latex2html(node, source):
7272
if not os.path.exists(destdir):
7373
os.makedirs(destdir)
7474
dest = os.path.join(destdir, '%s.png' % name)
75-
path = os.path.join(setup.app.builder.imgpath, 'mathmpl')
75+
path = '/'.join((setup.app.builder.imgpath, 'mathmpl'))
7676

7777
depth = latex2png(latex, dest, node['fontset'])
7878

0 commit comments

Comments
 (0)