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 41f1c49

Browse filesBrowse files
author
Paul Barret
committed
Added default font property parameters to .matplotlibrc file with descriptions.
svn path=/trunk/matplotlib/; revision=228
1 parent f8b9248 commit 41f1c49
Copy full SHA for 41f1c49

File tree

Expand file treeCollapse file tree

1 file changed

+58
-13
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+58
-13
lines changed

‎.matplotlibrc

Copy file name to clipboardExpand all lines: .matplotlibrc
+58-13Lines changed: 58 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,74 @@ lines.data_clipping : False # Use data clipping in addition to viewport
3838
# clipping. Useful if you plot long data
3939
# sets with only a fraction in the viewport
4040

41+
### FONT
42+
# font properties used by text.Text. see
43+
# http://matplotlib.sourceforge.net/matplotlib.Font.html for more information
44+
# on font properties. The 6 font properties used for font matching are given
45+
# below with their default values.
46+
#
47+
# The font.family property has five values: 'serif' (e.g. Times),
48+
# 'sans-serif' (e.g. Helvetica), 'cursive' (e.g. Zapf-Chancery), 'fantasy'
49+
# (e.g. Western), and 'monospace' (e.g. Courier). Each of these font families
50+
# has a default list of font names in decreasing order of priority associated
51+
# with them.
52+
#
53+
# The font.style property has three values: normal (or roman), italic or
54+
# oblique. The oblique style will be used for italic, if it is not present.
55+
#
56+
# The font.variant property has two values: normal or small-caps. For TrueType
57+
# fonts, which are scalable fonts, small-caps is equivalent to using a font
58+
# size of 'smaller', or about 83% of the current font size.
59+
#
60+
# The font.weight property has effectively 13 values: normal, bold, bolder,
61+
# lighter, 100, 200, 300, ..., 900. Normal is the same as 400, and bold is
62+
# 700. bolder and lighter are relative values with respect to the current
63+
# weight.
64+
#
65+
# The font.stretch property has 11 values: ultra-condensed, extra-condensed,
66+
# condensed, semi-condensed, normal, semi-expanded, expanded, extra-expanded,
67+
# ultra-expanded, wider, and narrower. This property is not currently
68+
# implemented.
69+
#
70+
# The font.size property has 11 values: xx-small, x-small, small, medium,
71+
# large, x-large, xx-large, larger, smaller, length (such as 12pt), and
72+
# percentage. larger and smaller are relative values. percentage is not yet
73+
# implemented.
74+
#
75+
font.family : sans-serif
76+
font.style : normal
77+
font.variant : normal
78+
font.weight : medium
79+
font.stretch : normal
80+
font.size : medium
81+
font.serif : New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Bitstream Vera Serif, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif
82+
font.sans-serif : Lucida Grande, Verdana, Geneva, Lucida, Bitstream Vera Sans, Arial, Helvetica, sans-serif
83+
font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand, cursive
84+
font.fantasy : Comic Sans MS, Chicago, Charcoal, Impact, Western, fantasy
85+
font.monospace : Andale Mono, Bitstream Vera Sans Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
86+
87+
4188
### TEXT
4289
# text properties used by text.Text. See
4390
# http://matplotlib.sourceforge.net/matplotlib.Text.html for more
4491
# information on text properties
45-
font.family : serif # default font name
46-
font.size : 10 # default size used by axes.text
47-
text.color : k # black
92+
text.color : k # black
4893

4994
### AXES
5095
# default face and edge color, default tick sizes,
5196
# default fontsizes for ticklabels, and so on
52-
axes.facecolor : w # background color; white
53-
axes.edgecolor : k # edge color; black
54-
axes.linewidth : 1.0 # edge linewidth
55-
axes.grid : False # display grid or not
56-
axes.titlesize : 14 # fontsize of the axes title
57-
axes.labelsize : 12 # fontsize of the x any y labels
58-
axes.labelcolor : k # black
97+
axes.facecolor : w # background color; white
98+
axes.edgecolor : k # edge color; black
99+
axes.linewidth : 1.0 # edge linewidth
100+
axes.grid : False # display grid or not
101+
axes.titlesize : 14 # fontsize of the axes title
102+
axes.labelsize : 12 # fontsize of the x any y labels
103+
axes.labelcolor : k # black
59104

60105
### TICKS
61-
tick.size : 4 # tick size in points
62-
tick.color : k # color of the tick labels
63-
tick.labelsize : 10 # fontsize of the tick labels
106+
tick.size : 4 # tick size in points
107+
tick.color : k # color of the tick labels
108+
tick.labelsize : 10 # fontsize of the tick labels
64109

65110
### FIGURE
66111
figure.figsize : 8, 6 # figure size in inches

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.