@@ -626,10 +626,10 @@ class FontProperties:
626626 specification and *math_fontfamily* for math fonts:
627627
628628 - family: A list of font names in decreasing order of priority.
629- The items may include a generic font family name, either
630- 'sans- serif', 'serif', ' cursive', 'fantasy', or 'monospace'.
631- In that case, the actual font to be used will be looked up
632- from the associated rcParam . Default: :rc:`font.family`
629+ The items may include a generic font family name, either 'sans-serif',
630+ 'serif', 'cursive', 'fantasy', or 'monospace'. In that case, the actual
631+ font to be used will be looked up from the associated rcParam during the
632+ search process in `.findfont` . Default: :rc:`font.family`
633633
634634 - style: Either 'normal', 'italic' or 'oblique'.
635635 Default: :rc:`font.style`
@@ -741,7 +741,11 @@ def __str__(self):
741741
742742 def get_family (self ):
743743 """
744- Return a list of font names that comprise the font family.
744+ Return a list of individual font family names or generic family names.
745+
746+ The font families or generic font families (which will be resolved
747+ from their respective rcParams when searching for a matching font) in
748+ the order of preference.
745749 """
746750 return self ._family
747751
0 commit comments