We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 814f152 commit c8386ebCopy full SHA for c8386eb
1 file changed
proplot/wrappers.py
@@ -1351,7 +1351,7 @@ def text_wrapper(
1351
if not isinstance(fontname, str) and np.iterable(
1352
fontname) and len(fontname) == 1:
1353
fontname = fontname[0]
1354
- if fontname in styletools.fonts:
+ if fontname.lower() in list(map(str.lower, styletools.fonts)):
1355
kwargs['fontfamily'] = fontname
1356
else:
1357
_warn_proplot(
0 commit comments