Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ad21989

Browse filesBrowse 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
Copy full SHA for ad21989

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/sphinxext/mathmpl.py

Copy file name to clipboardExpand all lines: lib/matplotlib/sphinxext/mathmpl.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.