Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d0400f

Browse files
committed
updated default matplotlib.conf
svn path=/trunk/matplotlib/; revision=4240
1 parent 278cb96 commit 0d0400f

1 file changed

Lines changed: 47 additions & 39 deletions

File tree

lib/matplotlib/mpl-data/matplotlib.conf

Lines changed: 47 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,36 @@
33
# This is a sample matplotlib configuration file. It should be placed
44
# in HOME/.matplotlib/matplotlibrc (unix/linux like systems) and
55
# C:\Documents and Settings\yourname\.matplotlib (win32 systems)
6-
#
6+
#
77
# By default, the installer will overwrite the existing file in the install
88
# path, so if you want to preserve yours, please move it to your HOME dir and
99
# set the environment variable if necessary.
10-
#
10+
#
1111
# This file is best viewed in a editor which supports ini or conf mode syntax
1212
# highlighting.
13-
#
13+
#
1414
# Blank lines, or lines starting with a comment symbol, are ignored,
1515
# as are trailing comments. Other lines must have the format
16-
#
16+
#
1717
# key = val optional comment
18-
#
18+
#
1919
# val should be valid python syntax, just as you would use when setting
2020
# properties using rcParams. This should become more obvious by inspecting
2121
# the default values listed herein.
22-
#
22+
#
2323
# Colors: for the color values below, you can either use
2424
# - a matplotlib color string, such as r, k, or b
2525
# - an rgb tuple, such as (1.0, 0.5, 0.0)
2626
# - a hex string, such as #ff00ff or ff00ff
2727
# - a scalar grayscale intensity such as 0.75
2828
# - a legal html color name, eg red, blue, darkslategray
29-
#
29+
#
3030
# Interactivity: see http://matplotlib.sourceforge.net/interactive.html.
31-
#
31+
#
3232
# ### CONFIGURATION BEGINS HERE ###
3333

3434
# a value of type 'str'
35-
datapath = '/usr/lib64/python2.5/site-packages/matplotlib-0.90.1_r3640-py2.5-linux-x86_64.egg/matplotlib/mpl-data'
35+
datapath = '/usr/lib64/python2.5/site-packages/matplotlib/mpl-data'
3636
# one of 0, on, false, 1, no, n, y, off, yes, true
3737
interactive = False
3838
# a value of type 'bool'
@@ -42,7 +42,7 @@ numerix = 'numpy'
4242
# 'Africa/Abidjan' or 'Africa/Accra' or 'Africa/Addis_Ababa' or 'Africa/Algiers'
4343
# or 'Africa/Asmara' or 'Africa/Asmera' or 'Africa/Bamako' or 'Africa/Bangui' o
4444
# r 'Africa/Banjul' or 'Africa/Bissau' or 'Africa/Blantyre' or 'Africa/Brazzavil
45-
# <...snipped 10590 chars...>
45+
# <...snipped 10590 chars...>
4646
# or 'Turkey' or 'UCT' or 'US/Alaska' or 'US/Aleutian' or 'US/Arizona' or 'US/Ce
4747
# ntral' or 'US/East-Indiana' or 'US/Eastern' or 'US/Hawaii' or 'US/Indiana-Star
4848
# ke' or 'US/Michigan' or 'US/Mountain' or 'US/Pacific' or 'US/Pacific-New' or '
@@ -72,14 +72,14 @@ units = False
7272
# name like 'orange', a hex color like '#efefef', a grayscale intensity
7373
# like '0.5', or an RGBA tuple (1,0,0,1)
7474
labelcolor = 'black'
75-
# a value of type 'float' or 'xx-small' or 'x-small' or 'small' or 'medium'
75+
# a value of type 'float' or 'xx-small' or 'x-small' or 'small' or 'medium'
7676
# or 'large' or 'x-large' or 'xx-large'
7777
labelsize = 'medium'
7878
# a value of type 'float'
7979
linewidth = 1.0
8080
# one of 0, on, false, 1, no, n, y, off, yes, true
8181
polargrid = True
82-
# a value of type 'float' or 'xx-small' or 'x-small' or 'small' or 'medium'
82+
# a value of type 'float' or 'xx-small' or 'x-small' or 'small' or 'medium'
8383
# or 'large' or 'x-large' or 'xx-large'
8484
titlesize = 'large'
8585

@@ -92,7 +92,7 @@ units = False
9292
# 'TkAgg', 'Agg', 'Cairo', 'PS', 'PDF', 'SVG'
9393
# one of ps, qt4agg, tkagg, gtkagg, agg, cairo, gtkcairo, wxagg, qtagg, temp
9494
# late, svg, pdf
95-
use = 'PS'
95+
use = 'TkAgg'
9696

9797
[[cairo]]
9898
# 'png' or 'ps' or 'pdf' or 'svg'
@@ -127,7 +127,7 @@ units = False
127127

128128
[[svg]]
129129
# a value of type 'bool'
130-
embed_chars = False
130+
embed_chars = True
131131
# a value of type 'bool'
132132
image_inline = True
133133
# a value of type 'bool'
@@ -191,7 +191,7 @@ units = False
191191
serif = ['Bitstream Vera Serif', 'New Century Schoolbook', 'Century Schoolbook L', 'Utopia', 'ITC Bookman', 'Bookman', 'Nimbus Roman No9 L', 'Times New Roman', 'Times', 'Palatino', 'Charter', 'serif']
192192
# a value of type 'float'
193193
size = 12.0
194-
# 'ultra-condensed' or 'extra-condensed' or 'condensed' or 'semi-condensed'
194+
# 'ultra-condensed' or 'extra-condensed' or 'condensed' or 'semi-condensed'
195195
# or 'normal' or 'semi-expanded' or 'expanded' or 'extra-expanded' or 'ultra
196196
# -expanded' or 'wider' or 'narrower'
197197
stretch = 'normal'
@@ -218,11 +218,11 @@ units = False
218218
aspect = 'equal'
219219
# 'Accent' or 'Accent_r' or 'Blues' or 'Blues_r' or 'BrBG' or 'BrBG_r' or 'B
220220
# uGn' or 'BuGn_r' or 'BuPu' or 'BuPu_r' or 'Dark2' or 'Dark2_r' or 'GnBu' o
221-
# r 'GnBu_r' or 'Greens' or 'Greens_r' or 'Greys' or 'Greys_r' or 'OrRd' or
222-
# <...snipped 1010 chars...>
223-
# ist_stern' or 'gist_stern_r' or 'gist_yarg' or 'gist_yarg_r' or 'gray' or
221+
# r 'GnBu_r' or 'Greens' or 'Greens_r' or 'Greys' or 'Greys_r' or 'OrRd' or
222+
# <...snipped 1010 chars...>
223+
# ist_stern' or 'gist_stern_r' or 'gist_yarg' or 'gist_yarg_r' or 'gray' or
224224
# 'gray_r' or 'hot' or 'hot_r' or 'hsv' or 'hsv_r' or 'jet' or 'jet_r' or 'p
225-
# ink' or 'pink_r' or 'prism' or 'prism_r' or 'spectral' or 'spectral_r' or
225+
# ink' or 'pink_r' or 'prism' or 'prism_r' or 'spectral' or 'spectral_r' or
226226
# 'spring' or 'spring_r' or 'summer' or 'summer_r' or 'winter' or 'winter_r'
227227
cmap = 'jet'
228228
# 'bilinear' or 'nearest' or 'bicubic' or 'spline16' or 'spline36' or 'hanni
@@ -237,7 +237,7 @@ units = False
237237
[legend]
238238
# a value of type 'float'
239239
axespad = 0.02
240-
# a value of type 'float' or 'xx-small' or 'x-small' or 'small' or 'medium'
240+
# a value of type 'float' or 'xx-small' or 'x-small' or 'small' or 'medium'
241241
# or 'large' or 'x-large' or 'xx-large'
242242
fontsize = 'medium'
243243
# a value of type 'float'
@@ -289,6 +289,30 @@ units = False
289289
# 'miter' or 'round' or 'bevel'
290290
solid_joinstyle = 'miter'
291291

292+
[mathtext]
293+
# A fontconfig pattern. See the fontconfig user manual for more information
294+
# .
295+
bf = 'serif:bold'
296+
# A fontconfig pattern. See the fontconfig user manual for more information
297+
# .
298+
cal = 'cursive'
299+
# a value of type 'bool'
300+
fallback_to_cm = True
301+
# 'cm' or 'stix' or 'stixsans' or 'custom'
302+
fontset = 'cm'
303+
# A fontconfig pattern. See the fontconfig user manual for more information
304+
# .
305+
it = 'serif:oblique'
306+
# A fontconfig pattern. See the fontconfig user manual for more information
307+
# .
308+
rm = 'serif'
309+
# A fontconfig pattern. See the fontconfig user manual for more information
310+
# .
311+
sf = 'sans'
312+
# A fontconfig pattern. See the fontconfig user manual for more information
313+
# .
314+
tt = 'monospace'
315+
292316
[patch]
293317
# a value of type 'bool'
294318
antialiased = True
@@ -333,22 +357,6 @@ units = False
333357
# a value of type 'bool'
334358
unicode = False
335359

336-
[[math]]
337-
# a value of type 'str'
338-
cal = 'cmsy10.ttf'
339-
# a value of type 'str'
340-
it = 'cmmi10.ttf'
341-
# a value of type 'bool'
342-
mathtext2 = False
343-
# a value of type 'str'
344-
mit = 'cmmi10.ttf'
345-
# a value of type 'str'
346-
nonascii = 'cmex10.ttf'
347-
# a value of type 'str'
348-
rm = 'cmr10.ttf'
349-
# a value of type 'str'
350-
tt = 'cmtt10.ttf'
351-
352360
[verbose]
353361
# a value of type 'str' or a value of type 'unicode' or 'sys.stdout'
354362
fileo = 'sys.stdout'
@@ -362,7 +370,7 @@ units = False
362370
color = 'black'
363371
# 'in' or 'out'
364372
direction = 'in'
365-
# a value of type 'float' or 'xx-small' or 'x-small' or 'small' or 'medium'
373+
# a value of type 'float' or 'xx-small' or 'x-small' or 'small' or 'medium'
366374
# or 'large' or 'x-large' or 'xx-large'
367375
labelsize = 'small'
368376

@@ -385,7 +393,7 @@ units = False
385393
color = 'black'
386394
# 'in' or 'out'
387395
direction = 'in'
388-
# a value of type 'float' or 'xx-small' or 'x-small' or 'small' or 'medium'
396+
# a value of type 'float' or 'xx-small' or 'x-small' or 'small' or 'medium'
389397
# or 'large' or 'x-large' or 'xx-large'
390398
labelsize = 'small'
391399

@@ -399,4 +407,4 @@ units = False
399407
# a value of type 'float'
400408
pad = 4.0
401409
# a value of type 'float'
402-
size = 2.0
410+
size = 2.0

0 commit comments

Comments
 (0)