@@ -578,38 +578,32 @@ class FontProperties:
578
578
579
579
- family: A list of font names in decreasing order of priority.
580
580
The items may include a generic font family name, either
581
- 'serif', 'sans- serif', 'cursive', 'fantasy', or 'monospace'.
581
+ 'sans- serif' (default) , 'serif', 'cursive', 'fantasy', or 'monospace'.
582
582
In that case, the actual font to be used will be looked up
583
583
from the associated rcParam.
584
584
585
- - style: Either 'normal', 'italic' or 'oblique'.
585
+ - style: Either 'normal' (default) , 'italic' or 'oblique'.
586
586
587
- - variant: Either 'normal' or 'small-caps'.
587
+ - variant: Either 'normal' (default) or 'small-caps'.
588
588
589
589
- stretch: A numeric value in the range 0-1000 or one of
590
590
'ultra-condensed', 'extra-condensed', 'condensed',
591
- 'semi-condensed', 'normal', 'semi-expanded', 'expanded',
591
+ 'semi-condensed', 'normal' (default) , 'semi-expanded', 'expanded',
592
592
'extra-expanded' or 'ultra-expanded'.
593
593
594
594
- weight: A numeric value in the range 0-1000 or one of
595
- 'ultralight', 'light', 'normal', 'regular', 'book', 'medium',
595
+ 'ultralight', 'light', 'normal' (default) , 'regular', 'book', 'medium',
596
596
'roman', 'semibold', 'demibold', 'demi', 'bold', 'heavy',
597
597
'extra bold', 'black'.
598
598
599
599
- size: Either an relative value of 'xx-small', 'x-small',
600
600
'small', 'medium', 'large', 'x-large', 'xx-large' or an
601
- absolute font size, e.g., 12 .
601
+ absolute font size, e.g., 10 (default) .
602
602
603
603
- math_fontfamily: The family of fonts used to render math text; overrides
604
604
:rc:`mathtext.fontset`. Supported values are the same as the ones
605
- supported by :rc:`mathtext.fontset` ::
606
-
607
- 'dejavusans', 'dejavuserif', 'cm', 'stix', 'stixsans' and 'custom'.
608
-
609
- The default font property for TrueType fonts (as specified in the
610
- default rcParams) is ::
611
-
612
- sans-serif, normal, normal, normal, normal, scalable.
605
+ supported by :rc:`mathtext.fontset`: 'dejavusans', 'dejavuserif', 'cm',
606
+ 'stix', 'stixsans' and 'custom'.
613
607
614
608
Alternatively, a font may be specified using the absolute path to a font
615
609
file, by using the *fname* kwarg. However, in this case, it is typically
0 commit comments