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

Skip to content

Commit 623bc8f

Browse files
author
pwuertz
committed
backend_pgf: fix parentheses typo
1 parent c981774 commit 623bc8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_pgf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
system_fonts = []
2727
for f in font_manager.findSystemFonts():
2828
try:
29-
system_fonts.append(FT2Font(str(f).family_name))
29+
system_fonts.append(FT2Font(str(f)).family_name)
3030
except RuntimeError:
3131
pass # some fonts on osx are known to fail, print?
3232
except:

0 commit comments

Comments
 (0)