Skip to content

Commit 3419eb8

Browse files
committed
Merge pull request #1141 from pwuertz/pgf-fixes
backend_pgf: fix parentheses typo
2 parents b0393e9 + 623bc8f commit 3419eb8

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)