Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b36b148 commit 876a2edCopy full SHA for 876a2ed
1 file changed
lib/matplotlib/texmanager.py
@@ -169,7 +169,7 @@ def __init__(self):
169
ff = rcParams['font.family']
170
if len(ff) == 1 and ff[0].lower() in self.font_families:
171
self.font_family = ff[0].lower()
172
- elif ff.lower() in self.font_families:
+ elif isinstance(ff, basestring) and ff.lower() in self.font_families:
173
self.font_family = ff.lower()
174
else:
175
mpl.verbose.report(
0 commit comments