8000
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.
2 parents f1ae145 + d042e90 commit 7af7678Copy full SHA for 7af7678
lib/matplotlib/texmanager.py
@@ -171,7 +171,7 @@ def __init__(self):
171
ff = rcParams['font.family']
172
if len(ff) == 1 and ff[0].lower() in self.font_families:
173
self.font_family = ff[0].lower()
174
- elif isinstance(ff, basestring) and ff.lower() in self.font_families:
+ elif isinstance(ff, six.string_types) and ff.lower() in self.font_families:
175
self.font_family = ff.lower()
176
else:
177
mpl.verbose.report(
0 commit comments