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

Skip to content

Commit 1e0a11a

Browse files
committed
Fix mathtext (bug has existed since r6400 11/12/2008)
svn path=/trunk/matplotlib/; revision=6446
1 parent f4a0194 commit 1e0a11a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/font_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ def createFontList(fontfiles, fontext='ttf'):
592592
verbose.report("Cannot handle unicode filenames")
593593
#print >> sys.stderr, 'Bad file is', fpath
594594
continue
595-
try: prop = ttfFontProperty(fpath, font)
595+
try: prop = ttfFontProperty(font)
596596
except: continue
597597

598598
fontlist.append(prop)

0 commit comments

Comments
 (0)