8000 Fix accidental merge · matplotlib/matplotlib@876a2ed · GitHub
[go: up one dir, main page]

Skip to content

Commit 876a2ed

Browse files
committed
Fix accidental merge
1 parent b36b148 commit 876a2ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/texmanager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def __init__(self):
169169
ff = rcParams['font.family']
170170
if len(ff) == 1 and ff[0].lower() in self.font_families:
171171
self.font_family = ff[0].lower()
172-
elif ff.lower() in self.font_families:
172+
elif isinstance(ff, basestring) and ff.lower() in self.font_families:
173173
self.font_family = ff.lower()
174174
else:
175175
mpl.verbose.report(

0 commit comments

Comments
 (0)
0