root/ipython/branches/saw/sandbox/tconfig/mplrc.conf.backup

Revision 2540, 13.6 kB (checked in by fperez, 3 years ago)

Improve support for auto-generated .conf files, so that they include all the information that can be extracted from the class docstrings and the trait handlers.

Line 
1 ### MATPLOTLIBRC FORMAT
2
3 # This is a sample matplotlib configuration file.  It should be placed
4 # in HOME/.matplotlib/matplotlibrc (unix/linux like systems) and
5 # C:\Documents and Settings\yourname\.matplotlib (win32 systems)
6 #
7 # By default, the installer will overwrite the existing file in the
8 # install path, so if you want to preserve your's, please move it to
9 # your HOME dir and set the environment variable if necessary.
10 #
11 # This file is best viewed in a editor which supports ini or conf mode
12 # syntax highlighting
13 #
14 # Blank lines, or lines starting with a comment symbol, are ignored,
15 # as are trailing comments.  Other lines must have the format
16 #
17 #   key = val   # optional comment
18 #
19 # val should be valid python syntax, just as you would use when setting
20 # properties using rcParams. This should become more obvious by inspecting
21 # the default values listed herein.
22 #
23 # Colors: for the color values below, you can either use
24 #  - a matplotlib color string, such as r, k, or b
25 #  - an rgb tuple, such as (1.0, 0.5, 0.0)
26 #  - a hex string, such as #ff00ff or ff00ff
27 #  - a scalar grayscale intensity such as 0.75
28 #  - a legal html color name, eg red, blue, darkslategray
29
30 #### CONFIGURATION BEGINS HERE
31
32 # numpy, Numeric or numarray
33 numerix = 'numpy'
34    
35 # True to use external maskedarray module instead of numpy.ma; this is a
36 # temporary setting for testing maskedarray.
37 maskedarray = False
38
39 # see http://matplotlib.sourceforge.net/interactive.html
40 interactive = False
41
42 # None | classic | toolbar2
43 toolbar = 'toolbar2'
44
45 # a pytz timezone string, eg US/Central or Europe/Paris
46 timezone = 'UTC'
47
48 # Where your matplotlib data lives if you installed to a non-default
49 #location.  This is where the matplotlib fonts, bitmaps, etc reside
50 datapath = '/home/darren/.matplotlib'
51
52 [backend]
53     # 'GTKAgg', 'GTKCairo', 'QtAgg', 'Qt4Agg', 'TkAgg', 'Agg',
54     # 'Cairo', 'PS', 'PDF', 'SVG'
55     use = 'Qt4Agg'
56    
57     [[cairo]]
58         # png, ps, pdf, svg
59         format = 'png'
60    
61     [[tk]]
62         # Maintain shell focus for TkAgg
63         window_focus = False
64        
65         # tk sets PYTHONINSEPCT
66         pythoninspect = False
67    
68     [[ps]]
69         # auto, letter, legal, ledger, A0-A10, B0-B10
70         papersize = 'letter'
71        
72         # use of afm fonts, results in smaller files
73         useafm = False
74        
75         # 3 (Type3) or 42 (TrueType)
76         fonttype = 3
77        
78         [[[distiller]]]
79             # can be: None, ghostscript or xpdf
80             # xpdf intended for production of publication quality
81             # files, but requires ghostscript, xpdf and ps2eps
82             use = None
83            
84             # distiller resolution, dpi
85             resolution = 6000.0
86    
87     [[pdf]]
88         # integer from 0 to 9
89         # 0 disables compression (good for debugging)
90         compression = 6
91        
92         # 3 (Type3) or 42 (TrueType)
93         fonttype = 3
94    
95     [[svg]]
96         # write raster image data directly into the svg file
97         image_inline = True
98        
99         # suppress scaling of raster data embedded in SVG
100         image_noscale = False
101        
102         # embed character outlines in the SVG file
103         embed_chars = False
104
105 [lines]
106     # See http://matplotlib.sourceforge.net/matplotlib.lines.html for more
107     # information on line properties.
108    
109     # line width in points
110     linewidth = 1.0
111    
112     # '-','--','-.', ':', 'steps', '', ' ', or None
113     linestyle = '-'
114    
115     color = 'blue'
116    
117     # The default marker: None, 'o', '.', ',', '^', 'v', '<', '>', 's', '+',
118     # 'x', 'D', 'd', '1', '2', '3', '4', 'h', 'H', 'p', '|', '_'
119     marker = None
120    
121     # the line width around the marker symbol
122     markeredgewidth = 0.5
123    
124     # markersize, in points
125     markersize = 6.0
126    
127     # miter|round|bevel
128     dash_joinstyle = 'miter'
129     solid_joinstyle = 'miter'
130    
131     # butt|round|projecting
132     dash_capstyle = 'butt'
133     solid_capstyle = 'projecting'
134    
135     # render antialised lines (no jaggies)
136     antialiased = True
137
138 [patch]
139     # Patches are graphical objects that fill 2D space, like polygons or
140     # circles.  See
141     # http://matplotlib.sourceforge.net/matplotlib.patches.html for more
142     # information on patch properties
143    
144     # edge width in points
145     linewidth = 1.0
146    
147     facecolor = 'blue'
148     edgecolor = 'black'
149    
150     # render antialised lines (no jaggies)
151     antialiased = True
152
153 [font]
154     # font properties used by text.Text.  See
155     # http://matplotlib.sourceforge.net/matplotlib.font_manager.html for more
156     # information on font properties.  The 6 font properties used for font
157     # matching are given below with their default values.
158     #
159     # The font.family property has five values: 'serif' (e.g. Times),
160     # 'sans-serif' (e.g. Helvetica), 'cursive' (e.g. Zapf-Chancery),
161     # 'fantasy' (e.g. Western), and 'monospace' (e.g. Courier).  Each of
162     # these font families has a default list of font names in decreasing
163     # order of priority associated with them.
164     family = 'sans-serif'
165    
166     # The font.style property has three values: normal (or roman), italic
167     # or oblique.  The oblique style will be used for italic, if it is not
168     # present.
169     style = 'normal'
170    
171     # The font.variant property has two values: normal or small-caps.  For
172     # TrueType fonts, which are scalable fonts, small-caps is equivalent
173     # to using a font size of 'smaller', or about 83% of the current font
174     # size.
175     variant = 'normal'
176    
177     # The font.weight property has effectively 13 values= normal, bold,
178     # bolder, lighter, 100, 200, 300, ..., 900.  Normal is the same as
179     # 400, and bold is 700.  bolder and lighter are relative values with
180     # respect to the current weight.
181     weight = 'normal'
182    
183     # The font.stretch property has 11 values: ultra-condensed,
184     # extra-condensed, condensed, semi-condensed, normal, semi-expanded,
185     # expanded, extra-expanded, ultra-expanded, wider, and narrower.  This
186     # property is not currently implemented.
187     stretch = 'normal'
188    
189     # The font.size property is the default font size for text, given in pts.
190     # 12pt is the standard value.
191     #
192     # Note that font.size controls default text sizes.  To configure
193     # special text sizes tick labels, axes, labels, title, etc, see the rc
194     # settings for axes and ticks. Special text sizes can be defined
195     # relative to font.size, using the following values: xx-small, x-small,
196     # small, medium, large, x-large, xx-large, larger, or smaller
197     size = 12.0
198    
199     # A search list for each of the font families
200     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']
201     sans_serif = ['Bitstream Vera Sans', 'Lucida Grande', 'Verdana', 'Geneva', 'Lucid', 'Arial', 'Helvetica', 'Avant Garde', 'sans-serif']
202     cursive = ['Apple Chancery', 'Textile', 'Zapf Chancery', 'Sand', 'cursive']
203     fantasy = ['Comic Sans MS', 'Chicago', 'Charcoal', 'Impact', 'Western', 'fantasy']
204     monospace = ['Bitstream Vera Sans Mono', 'Andale Mono', 'Nimbus Mono L', 'Courier New', 'Courier', 'Fixed', 'Terminal', 'monospace']
205
206 [text]
207     # text properties used by text.Text.  See
208     # http://matplotlib.sourceforge.net/matplotlib.text.html for more
209     # information on text properties
210     color = 'black'
211    
212     ### LaTeX customizations
213     # See http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex
214    
215     # use latex for all text handling. The following fonts
216     # are supported through the usual rc parameter settings:
217     # new century schoolbook, bookman, times, palatino,
218     # zapf chancery, charter, serif, sans-serif, helvetica,
219     # avant garde, courier, monospace, computer modern roman,
220     # computer modern sans serif, computer modern typewriter
221     # If another font is desired which can loaded using the
222     # LaTeX \usepackage command, please inquire at the
223     # matplotlib mailing list
224     usetex = False
225    
226     [[latex]]
227         # use "ucs" and "inputenc" LaTeX packages for
228         # handling unicode strings.
229         unicode = False
230        
231         # IMPROPER USE OF THE PREAMBLE WILL LEAD TO LATEX
232         # FAILURES AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT
233         # ASK FOR HELP IF THIS FEATURE DOES NOT DO WHAT YOU
234         # EXPECT IT TO.
235         # preamble is a comma separated list of LaTeX
236         # statements that are included in the LaTeX document
237         # preamble.
238         # An example:
239         # text.latex.preamble = ["\usepackage{bm}", "\usepackage{euler}"]
240         # The following packages are always loaded with usetex,
241         # so beware of package collisions: color, geometry,
242         # graphicx, type1cm, textcomp. Adobe Postscript
243         # (PSSNFS) font packages may also be loaded, depending
244         # on your font settings
245         preamble = []
246        
247         # some versions of dvipng don't handle alpha channel properly.
248         # Use True to correct and flush ~/.matplotlib/tex.cache before
249         # testing
250         dvipnghack = False
251
252 [axes]
253     # default face and edge color, default tick sizes,
254     # default fontsizes for ticklabels, and so on.  See
255     # http://matplotlib.sourceforge.net/matplotlib.axes.html#Axes
256    
257     # whether to clear the axes by default
258     hold = True
259    
260     # axes background color
261     facecolor = 'white'
262    
263     # axes edge color
264     edgecolor = 'black'
265    
266     # edge linewidth
267     linewidth = 1.0
268    
269     # display grid on regular or polar axes
270     grid = False
271     polargrid = True
272    
273     # fontsize of the axes title and labels
274     titlesize = 'large'
275     labelsize = 'medium'
276    
277     labelcolor = 'black'
278    
279     # whether axis gridlines and ticks are below the axes elements
280     # (lines, text, etc)
281     axisbelow = False
282    
283     [[formatter]]
284         # use scientific notation if log10 of the axis range is smaller
285         # than the first or larger than the second
286         limits = [-7.0, 7.0]
287
288 [xticks]
289     # see http://matplotlib.sourceforge.net/matplotlib.axis.html#Ticks
290     color = 'k'
291     labelsize = 'small'
292    
293     # direction: in or out
294     direction = 'in'
295    
296     [[major]]
297         # in points
298         size = 4.0
299         pad = 4.0
300    
301     [[minor]]
302         # in points
303         size = 2.0
304         pad = 4.0
305
306 [yticks]
307     color = 'k'
308     labelsize = 'small'
309    
310     # direction: in or out
311     direction = 'in'
312    
313     [[major]]
314         # in points
315         size = 4.0
316         pad = 4.0
317    
318     [[minor]]
319         # in points
320         size = 2.0
321         pad = 4.0
322
323 [grid]
324     color = 'black'
325    
326     # '-','--','-.', ':', 'steps', '', ' ', or None
327     linestyle = ':'
328    
329     linewidth = 0.5
330
331 [legend]
332     isaxes = True
333    
334     # the number of points in the legend line
335     numpoints = 2
336    
337     fontsize = 'medium'
338    
339     # the fractional whitespace inside the legend border
340     pad = 0.20000000000000001
341    
342     # the relative size of legend markers vs. original
343     # the following dimensions are in axes coords
344     markerscale = 1.0
345    
346     # the vertical space between the legend entries
347     labelsep = 0.01
348    
349     # the length of the legend lines
350     handlelen = 0.050000000000000003
351    
352     # the space between the legend line and legend text
353     handletextsep = 0.02
354    
355     # the border between the axes and legend edge
356     axespad = 0.02
357    
358     # Show a shadow behind the legend
359     shadow = False
360
361 [figure]
362     # See http://matplotlib.sourceforge.net/matplotlib.figure.html#Figure
363    
364     # figure size in inches
365     figsize = [8.0, 6.0]
366    
367     # figure dots per inch
368     dpi = 80.0
369    
370     # figure face and edge colors; '0.75' is scalar gray
371     facecolor = '0.75'
372     edgecolor = 'white'
373    
374     [[subplot]]
375         # The figure subplot parameters.  All dimensions are fraction of the
376         # figure width or height
377         left = 0.125
378         right = 0.90000000000000002
379         bottom = 0.10000000000000001
380         top = 0.90000000000000002
381        
382         # the amount of width or height reserved for blank space between
383         #subplots
384         wspace = 0.20000000000000001
385         hspace = 0.20000000000000001
386
387
388 [image]
389     # equal | auto | a number
390     aspect = 'equal'
391    
392     # see help(imshow) for options
393     interpolation = 'bilinear'
394     cmap = 'jet'
395    
396     # the size of the colormap lookup table
397     lut = 256
398    
399     # 'lower' or 'upper'
400     origin = 'upper'
401
402
403 [contour]
404     # 'dashed' or 'solid'
405     negative_linestyle = 'dashed'
406
407 [savefig]
408     # Saving figures
409     # the default savefig params can be different for the GUI backends.
410     # Eg, you may want a higher resolution, or to make the figure
411     # background white
412    
413     # figure dots per inch
414     dpi = 100.0
415    
416     # figure face and edge colors
417     facecolor = 'white'
418     edgecolor = 'white'
419
420 [verbose]
421     # Set the verbose flags.  This controls how much information
422     # matplotlib gives you at runtime and where it goes.  The verbosity
423     # levels are: silent, helpful, debug, debug-annoying.  Any level is
424     # inclusive of all the levels below it.  If you setting is debug,
425     # you'll get all the debug and helpful messages.  When submitting
426     # problems to the mailing-list, please set verbose to helpful or debug
427     # and paste the output into your report.
428     #
429     # The fileo gives the destination for any calls to verbose.report.
430     # These objects can a filename, or a filehandle like sys.stdout.
431     #
432     # You can override the rc default verbosity from the command line by
433     # giving the flags --verbose-LEVEL where LEVEL is one of the legal
434     # levels, eg --verbose-helpful.
435     #
436     # You can access the verbose instance in your code
437     #   from matplotlib import verbose.
438    
439     # 'silent', 'helpful', 'debug', or 'debug-annoying'
440     level = 'silent'
441    
442     # a log filename, 'sys.stdout' or 'sys.stderr'
443     fileo = 'sys.stdout'
Note: See TracBrowser for help on using the browser.