@@ -626,10 +626,10 @@ class FontProperties:
626
626
specification and *math_fontfamily* for math fonts:
627
627
628
628
- 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`
633
633
634
634
- style: Either 'normal', 'italic' or 'oblique'.
635
635
Default: :rc:`font.style`
@@ -741,7 +741,11 @@ def __str__(self):
741
741
742
742
def get_family (self ):
743
743
"""
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.
745
749
"""
746
750
return self ._family
747
751
0 commit comments