10000 Better document font.<generic-family> rcParams entries. · matplotlib/matplotlib@5c00cdd · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c00cdd

Browse files
committed
Better document font.<generic-family> rcParams entries.
1 parent 9d12377 commit 5c00cdd

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

matplotlibrc.template

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,15 +211,20 @@
211211
## on font properties. The 6 font properties used for font matching are
212212
## given below with their default values.
213213
##
214-
## The font.family property has five values:
214+
## The font.famil 9E58 y property can take either a concrete font name (not supported
215+
## when rendering text with usetex), or one of the following five generic
216+
## values:
215217
## - 'serif' (e.g., Times),
216218
## - 'sans-serif' (e.g., Helvetica),
217219
## - 'cursive' (e.g., Zapf-Chancery),
218220
## - 'fantasy' (e.g., Western), and
219221
## - 'monospace' (e.g., Courier).
220-
## Each of these font families has a default list of font names in decreasing
221-
## order of priority associated with them. When text.usetex is False,
222-
## font.family may also be one or more concrete font names.
222+
## Each of these values has a corresponding default list of font names
223+
## (font.serif, etc.); the first available font in the list is used. Note that
224+
## for font.serif, font.sans-serif, and font.monospace, the first element of
225+
## the list (a DejaVu font) will always be used because DejaVu is shipped with
226+
## Matplotlib and is thus guaranteed to be available; the other entries are
227+
## left as examples of other possible values.
223228
##
224229
## The font.style property has three values: normal (or roman), italic
225230
## or oblique. The oblique style will be used for italic, if it is not

0 commit comments

Comments
 (0)
0