Skip to content

Commit

Permalink
Merge pull request #3339 from cgohlke/patch-3
Browse files Browse the repository at this point in the history
DOC : fix paths in MS helphtml output

Fix mathmpl images not showing in HTML Help (CHM)
  • Loading branch information
tacaswell committed Aug 4, 2014
2 parents 2de8b18 + 3320913 commit ad21989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/sphinxext/mathmpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def latex2html(node, source):
if not os.path.exists(destdir):
os.makedirs(destdir)
dest = os.path.join(destdir, '%s.png' % name)
path = os.path.join(setup.app.builder.imgpath, 'mathmpl')
path = '/'.join((setup.app.builder.imgpath, 'mathmpl'))

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

Expand Down

0 comments on commit ad21989

Please sign in to comment.