Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4078b8a

Browse filesBrowse files
authored
Merge pull request #18683 from anntzer/fontrc
Better document font.<generic-family> rcParams entries.
2 parents 5713e77 + 5c00cdd commit 4078b8a
Copy full SHA for 4078b8a

File tree

Expand file treeCollapse file tree

1 file changed

+9
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-4
lines changed

‎matplotlibrc.template

Copy file name to clipboardExpand all lines: matplotlibrc.template
+9-4Lines 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.family 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.