-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
Milestone
Description
Documentation Link
No response
Problem
Looking at
## The font.family property can take either a concrete font name (not supported |
and
#font.family: sans-serif |
gives the impression thatfont.family
must be a single string.
However, the validator can take a list of strings:
matplotlib/lib/matplotlib/rcsetup.py
Line 914 in f670fe7
"font.family": validate_stringlist, # used by text object |
Suggested improvement
- Document that
font.family
can be a list inmatplotlibrc
validate_stringlist
turns a single string into a one-element list. API-wise that's quite permissive. Do we want to change that (which might be some effort)? Or are we ok with that.