You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"font.family": validate_stringlist, # used by text object
Suggested improvement
Document that font.family can be a list in matplotlibrc
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.
The text was updated successfully, but these errors were encountered:
Documentation Link
No response
Problem
Looking at
matplotlib/lib/matplotlib/mpl-data/matplotlibrc
Line 219 in f670fe7
and
matplotlib/lib/matplotlib/mpl-data/matplotlibrc
Line 262 in f670fe7
gives the impression that
font.family
must be a single string.However, the validator can take a list of strings:
matplotlib/lib/matplotlib/rcsetup.py
Line 914 in f670fe7
Suggested improvement
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.The text was updated successfully, but these errors were encountered: