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

Skip to content

Commit 3320913

Browse files
committed
Fix mathmpl images not showing in HTML Help (CHM)
1 parent 2de8b18 commit 3320913

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)