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 3320913

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

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.