Skip to content
This repository

clean out obsolete matplotlibrc-related bits to close #1123 #1132

Merged
merged 1 commit into from over 1 year ago

2 participants

Eric Firing Michael Droettboom
Eric Firing
Owner

matplotlib.conf appears to be long-forgotten, so it is removed.

Eric Firing clean out obsolete matplotlibrc-related bits
matplotlib.conf appears to be long-forgotten, so it is removed.
2e84110
Michael Droettboom
Owner

Looks good. Nice to cut off the dead wood.

Eric Firing efiring merged commit 477afb7 into from August 21, 2012
Eric Firing efiring closed this August 21, 2012
Eric Firing efiring deleted the branch May 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Aug 21, 2012
Eric Firing clean out obsolete matplotlibrc-related bits
matplotlib.conf appears to be long-forgotten, so it is removed.
2e84110
This page is out of date. Refresh to see the latest.
312  doc/pyplots/matplotlibrc
... ...
@@ -1,313 +1,3 @@
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 python 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  
-# Colors: for the color values below, you can either use
20  
-#  - a matplotlib color string, such as r, k, or b
21  
-#  - an rgb tuple, such as (1.0, 0.5, 0.0)
22  
-#  - a hex string, such as ff00ff  (no '#' symbol)
23  
-#  - a scalar grayscale intensity such as 0.75
24  
-#  - a legal html color name, eg red, blue, darkslategray
25  
-
26  
-#### CONFIGURATION BEGINS HERE
27  
-# the default backend; one of GTK GTKAgg GTKCairo FltkAgg QtAgg TkAgg
28  
-# WX WXAgg Agg Cairo GD GDK Paint PS PDF SVG Template
  1
+# local matplotlibrc for generating image files in this directory
29 2
 backend      : Agg
30  
-#maskedarray : False       # True to use external maskedarray module
31  
-                           # instead of numpy.ma; this is a temporary
32  
-                           # setting for testing maskedarray.
33  
-#interactive  : False      # see http://matplotlib.sourceforge.net/interactive.html
34  
-#toolbar      : toolbar2   # None | classic | toolbar2
35  
-#timezone     : UTC        # a pytz timezone string, eg US/Central or Europe/Paris
36  
-
37  
-# Where your matplotlib data lives if you installed to a non-default
38  
-# location.  This is where the matplotlib fonts, bitmaps, etc reside
39  
-#datapath : /home/jdhunter/mpldata
40  
-
41  
-
42  
-### LINES
43  
-# See http://matplotlib.sourceforge.net/matplotlib.lines.html for more
44  
-# information on line properties.
45  
-#lines.linewidth   : 1.0     # line width in points
46  
-#lines.linestyle   : -       # solid line
47  
-#lines.color       : blue
48  
-#lines.marker      : None    # the default marker
49  
-#lines.markeredgewidth  : 0.5     # the line width around the marker symbol
50  
-#lines.markersize  : 6            # markersize, in points
51  
-#lines.dash_joinstyle : miter        # miter|round|bevel
52  
-#lines.dash_capstyle : butt          # butt|round|projecting
53  
-#lines.solid_joinstyle : miter       # miter|round|bevel
54  
-#lines.solid_capstyle : projecting   # butt|round|projecting
55  
-#lines.antialiased : True         # render lines in antialised (no jaggies)
56  
-
57  
-### PATCHES
58  
-# Patches are graphical objects that fill 2D space, like polygons or
59  
-# circles.  See
60  
-# http://matplotlib.sourceforge.net/matplotlib.patches.html for more
61  
-# information on patch properties
62  
-#patch.linewidth    : 1.0     # edge width in points
63  
-#patch.facecolor    : blue
64  
-#patch.edgecolor    : black
65  
-#patch.antialiased  : True    # render patches in antialised (no jaggies)
66  
-
67  
-### FONT
68  
-#
69  
-# font properties used by text.Text.  See
70  
-# http://matplotlib.sourceforge.net/matplotlib.font_manager.html for more
71  
-# information on font properties.  The 6 font properties used for font
72  
-# matching are given below with their default values.
73  
-#
74  
-# The font.family property has five values: 'serif' (e.g. Times),
75  
-# 'sans-serif' (e.g. Helvetica), 'cursive' (e.g. Zapf-Chancery),
76  
-# 'fantasy' (e.g. Western), and 'monospace' (e.g. Courier).  Each of
77  
-# these font families has a default list of font names in decreasing
78  
-# order of priority associated with them.
79  
-#
80  
-# The font.style property has three values: normal (or roman), italic
81  
-# or oblique.  The oblique style will be used for italic, if it is not
82  
-# present.
83  
-#
84  
-# The font.variant property has two values: normal or small-caps.  For
85  
-# TrueType fonts, which are scalable fonts, small-caps is equivalent
86  
-# to using a font size of 'smaller', or about 83% of the current font
87  
-# size.
88  
-#
89  
-# The font.weight property has effectively 13 values: normal, bold,
90  
-# bolder, lighter, 100, 200, 300, ..., 900.  Normal is the same as
91  
-# 400, and bold is 700.  bolder and lighter are relative values with
92  
-# respect to the current weight.
93  
-#
94  
-# The font.stretch property has 11 values: ultra-condensed,
95  
-# extra-condensed, condensed, semi-condensed, normal, semi-expanded,
96  
-# expanded, extra-expanded, ultra-expanded, wider, and narrower.  This
97  
-# property is not currently implemented.
98  
-#
99  
-# The font.size property is the default font size for text, given in pts.
100  
-# 12pt is the standard value.
101  
-#
102  
-#font.family         : sans-serif
103  
-#font.style          : normal
104  
-#font.variant        : normal
105  
-#font.weight         : medium
106  
-#font.stretch        : normal
107  
-# note that font.size controls default text sizes.  To configure
108  
-# special text sizes tick labels, axes, labels, title, etc, see the rc
109  
-# settings for axes and ticks. Special text sizes can be defined
110  
-# relative to font.size, using the following values: xx-small, x-small,
111  
-# small, medium, large, x-large, xx-large, larger, or smaller
112  
-#font.size           : 12.0
113  
-#font.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
114  
-#font.sans-serif     : Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
115  
-#font.cursive        : Apple Chancery, Textile, Zapf Chancery, Sand, cursive
116  
-#font.fantasy        : Comic Sans MS, Chicago, Charcoal, Impact, Western, fantasy
117  
-#font.monospace      : Bitstream Vera Sans Mono, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
118  
-
119  
-### TEXT
120  
-# text properties used by text.Text.  See
121  
-# http://matplotlib.sourceforge.net/matplotlib.text.html for more
122  
-# information on text properties
123  
-
124  
-#text.color          : black
125  
-
126  
-### LaTeX customizations. See http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex
127  
-#text.usetex         : False  # use latex for all text handling. The following fonts
128  
-                              # are supported through the usual rc parameter settings:
129  
-                              # new century schoolbook, bookman, times, palatino,
130  
-                              # zapf chancery, charter, serif, sans-serif, helvetica,
131  
-                              # avant garde, courier, monospace, computer modern roman,
132  
-                              # computer modern sans serif, computer modern typewriter
133  
-                              # If another font is desired which can loaded using the
134  
-                              # LaTeX \usepackage command, please inquire at the
135  
-                              # matplotlib mailing list
136  
-#text.latex.unicode : False # use "ucs" and "inputenc" LaTeX packages for handling
137  
-                            # unicode strings.
138  
-#text.latex.preamble :  # IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES
139  
-                            # AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP
140  
-                            # IF THIS FEATURE DOES NOT DO WHAT YOU EXPECT IT TO.
141  
-                            # preamble is a comma separated list of LaTeX statements
142  
-                            # that are included in the LaTeX document preamble.
143  
-                            # An example:
144  
-                            # text.latex.preamble : \usepackage{bm},\usepackage{euler}
145  
-                            # The following packages are always loaded with usetex, so
146  
-                            # beware of package collisions: color, geometry, graphicx,
147  
-                            # type1cm, textcomp. Adobe Postscript (PSSNFS) font packages
148  
-                            # may also be loaded, depending on your font settings
149  
-#text.dvipnghack     : False  # some versions of dvipng don't handle
150  
-                             # alpha channel properly.  Use True to correct and flush
151  
-                             # ~/.matplotlib/tex.cache before testing
152  
-#text.markup         : 'plain'  # Affects how text, such as titles and labels, are
153  
-                                # interpreted by default.
154  
-                                # 'plain': As plain, unformatted text
155  
-                                # 'tex': As TeX-like text.  Text between $'s will be
156  
-                                # formatted as a TeX math expression.
157  
-                                # This setting has no effect when text.usetex is True.
158  
-                                # In that case, all text will be sent to TeX for
159  
-                                # processing.
160  
-
161  
-# The following settings allow you to select the fonts in math mode.
162  
-# They map from a TeX font name to a fontconfig font pattern.
163  
-# These settings are only used if mathtext.fontset is 'custom'.
164  
-#mathtext.cal : cursive
165  
-#mathtext.rm  : serif
166  
-#mathtext.tt  : monospace
167  
-#mathtext.it  : serif:italic
168  
-#mathtext.bf  : serif:bold
169  
-#mathtext.sf  : sans
170  
-#mathtext.fontset : cm # Should be 'cm' (Computer Modern), 'stix',
171  
-                       # 'stixsans' or 'custom'
172  
-#mathtext.fallback_to_cm : True  # When True, use symbols from the Computer Modern
173  
-                                 # fonts when a symbol can not be found in one of
174  
-                                 # the custom math fonts.
175  
-
176  
-### AXES
177  
-# default face and edge color, default tick sizes,
178  
-# default fontsizes for ticklabels, and so on.  See
179  
-# http://matplotlib.sourceforge.net/matplotlib.axes.html#Axes
180  
-#axes.hold           : True    # whether to clear the axes by default on
181  
-#axes.facecolor      : white   # axes background color
182  
-#axes.edgecolor      : black   # axes edge color
183  
-#axes.linewidth      : 1.0     # edge linewidth
184  
-#axes.grid           : False   # display grid or not
185  
-#axes.titlesize      : 14      # fontsize of the axes title
186  
-#axes.labelsize      : 12      # fontsize of the x any y labels
187  
-#axes.labelcolor     : black
188  
-#axes.axisbelow      : False   # whether axis gridlines and ticks are below
189  
-                              # the axes elements (lines, text, etc)
190  
-#axes.formatter.limits : -7, 7 # use scientific notation if log10
191  
-                               # of the axis range is smaller than the
192  
-                               # first or larger than the second
193  
-
194  
-#polaraxes.grid      : True    # display grid on polar axes
195  
-
196  
-### TICKS
197  
-# see http://matplotlib.sourceforge.net/matplotlib.axis.html#Ticks
198  
-#xtick.major.size     : 4      # major tick size in points
199  
-#xtick.minor.size     : 2      # minor tick size in points
200  
-#xtick.major.pad      : 4      # distance to major tick label in points
201  
-#xtick.minor.pad      : 4      # distance to the minor tick label in points
202  
-#xtick.color          : k      # color of the tick labels
203  
-#xtick.labelsize      : 12     # fontsize of the tick labels
204  
-#xtick.direction      : in     # direction: in or out
205  
-
206  
-#ytick.major.size     : 4      # major tick size in points
207  
-#ytick.minor.size     : 2      # minor tick size in points
208  
-#ytick.major.pad      : 4      # distance to major tick label in points
209  
-#ytick.minor.pad      : 4      # distance to the minor tick label in points
210  
-#ytick.color          : k      # color of the tick labels
211  
-#ytick.labelsize      : 12     # fontsize of the tick labels
212  
-#ytick.direction      : in     # direction: in or out
213  
-
214  
-
215  
-### GRIDS
216  
-#grid.color       :   black   # grid color
217  
-#grid.linestyle   :   :       # dotted
218  
-#grid.linewidth   :   0.5     # in points
219  
-
220  
-### Legend
221  
-#legend.isaxes        : True
222  
-#legend.numpoints     : 2      # the number of points in the legend line
223  
-#legend.fontsize      : 14
224  
-#legend.pad           : 0.2    # the fractional whitespace inside the legend border
225  
-#legend.markerscale   : 1.0    # the relative size of legend markers vs. original
226  
-# the following dimensions are in axes coords
227  
-#legend.labelsep      : 0.010  # the vertical space between the legend entries
228  
-#legend.handlelen     : 0.05   # the length of the legend lines
229  
-#legend.handletextsep : 0.02   # the space between the legend line and legend text
230  
-#legend.axespad       : 0.02   # the border between the axes and legend edge
231  
-#legend.shadow        : False
232  
-
233  
-### FIGURE
234  
-# See http://matplotlib.sourceforge.net/matplotlib.figure.html#Figure
235 3
 figure.figsize   : 6, 4    # figure size in inches
236  
-#figure.dpi       : 80      # figure dots per inch
237  
-#figure.facecolor : 0.75    # figure facecolor; 0.75 is scalar gray
238  
-#figure.edgecolor : white   # figure edgecolor
239  
-
240  
-# The figure subplot parameters.  All dimensions are fraction of the
241  
-# figure width or height
242  
-#figure.subplot.left  : 0.15  # the left side of the subplots of the figure
243  
-#figure.subplot.right : 0.9    # the right side of the subplots of the figure
244  
-#figure.subplot.bottom : 0.15   # the bottom of the subplots of the figure
245  
-#figure.subplot.top : 0.9      # the top of the subplots of the figure
246  
-#figure.subplot.wspace : 0.2   # the amount of width reserved for blank space between subplots
247  
-#figure.subplot.hspace : 0.2   # the amount of height reserved for white space between subplots
248  
-
249  
-#figure.autolayout : False     # when True, adjust the axes so that text doesn't overlap
250  
-
251  
-### IMAGES
252  
-#image.aspect : equal             # equal | auto | a number
253  
-#image.interpolation  : bilinear  # see help(imshow) for options
254  
-#image.cmap   : jet               # gray | jet etc...
255  
-#image.lut    : 256               # the size of the colormap lookup table
256  
-#image.origin : upper             # lower | upper
257  
-
258  
-
259  
-### CONTOUR PLOTS
260  
-#contour.negative_linestyle :  dashed # dashed | solid
261  
-
262  
-### SAVING FIGURES
263  
-# the default savefig params can be different for the GUI backends.
264  
-# Eg, you may want a higher resolution, or to make the figure
265  
-# background white
266  
-#savefig.dpi       : 100      # figure dots per inch
267  
-#savefig.facecolor : white    # figure facecolor when saving
268  
-#savefig.edgecolor : white    # figure edgecolor when saving
269  
-#savefig.format    : png      # png, ps, pdf, svg
270  
-
271  
-# tk backend params
272  
-#tk.window_focus   : False    # Maintain shell focus for TkAgg
273  
-#tk.pythoninspect  : False    # tk sets PYTHONINSEPCT
274  
-
275  
-# ps backend params
276  
-#ps.papersize      : letter   # auto, letter, legal, ledger, A0-A10, B0-B10
277  
-#ps.useafm         : False    # use of afm fonts, results in small files
278  
-#ps.usedistiller   : False    # can be: None, ghostscript or xpdf
279  
-                                          # Experimental: may produce smaller files.
280  
-                                          # xpdf intended for production of publication quality files,
281  
-                                          # but requires ghostscript, xpdf and ps2eps
282  
-#ps.distiller.res  : 6000      # dpi
283  
-#ps.fonttype       : 3         # Output Type 3 (Type3) or Type 42 (TrueType)
284  
-
285  
-# pdf backend params
286  
-#pdf.compression   : 6 # integer from 0 to 9
287  
-                       # 0 disables compression (good for debugging)
288  
-#pdf.fonttype       : 3         # Output Type 3 (Type3) or Type 42 (TrueType)
289  
-
290  
-# svg backend params
291  
-#svg.image_inline : True       # write raster image data directly into the svg file
292  
-#svg.image_noscale : False     # suppress scaling of raster data embedded in SVG
293  
-#svg.embed_chars : True       # embed character outlines in the SVG file
294  
-
295  
-# Set the verbose flags.  This controls how much information
296  
-# matplotlib gives you at runtime and where it goes.  The verbosity
297  
-# levels are: silent, helpful, debug, debug-annoying.  Any level is
298  
-# inclusive of all the levels below it.  If you setting is debug,
299  
-# you'll get all the debug and helpful messages.  When submitting
300  
-# problems to the mailing-list, please set verbose to helpful or debug
301  
-# and paste the output into your report.
302  
-#
303  
-# The fileo gives the destination for any calls to verbose.report.
304  
-# These objects can a filename, or a filehandle like sys.stdout.
305  
-#
306  
-# You can override the rc default verbosity from the command line by
307  
-# giving the flags --verbose-LEVEL where LEVEL is one of the legal
308  
-# levels, eg --verbose-helpful.
309  
-#
310  
-# You can access the verbose instance in your code
311  
-#   from matplotlib import verbose.
312  
-#verbose.level  : silent      # one of silent, helpful, debug, debug-annoying
313  
-#verbose.fileo  : sys.stdout  # a log filename, sys.stdout or sys.stderr
413  lib/matplotlib/mpl-data/matplotlib.conf.template
... ...
@@ -1,413 +0,0 @@
1  
-# MPLConfig - plaintext (in .conf format)
2  
-
3  
-# This is a sample matplotlib configuration file.  It should be placed
4  
-# in HOME/.matplotlib (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 install
8  
-# path, so if you want to preserve yours, please move it to your HOME dir and
9  
-# set the environment variable if necessary.
10  
-#
11  
-# This file is best viewed in a editor which supports ini or conf mode syntax
12  
-# 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 | 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  
-# Interactivity: see http://matplotlib.sourceforge.net/interactive.html.
31  
-#
32  
-# ### CONFIGURATION BEGINS HERE ###
33  
-
34  
-# a value of type 'str'
35  
-datapath = '/usr/lib64/python2.5/site-packages/matplotlib/mpl-data'
36  
-# one of: 0 | on | false | 1 | no | n | y | off | yes | true
37  
-interactive = False
38  
-# a boolean
39  
-maskedarray = False
40  
-# 'numpy' or 'numeric' or 'numarray'
41  
-numerix = 'numpy'
42  
-# 'Africa/Abidjan' or 'Africa/Accra' or 'Africa/Addis_Ababa' or
43  
-# 'Africa/Algiers' or 'Africa/Asmara' or 'Africa/Asmera' or 'Africa/Bamako' or
44  
-# 'Africa/Bangui' or 'Africa/Banjul' or 'Africa/Bissau' or 'Africa/Blantyre'
45  
-#  <...snipped 156 lines...>
46  
-# 'US/Michigan' or 'US/Mountain' or 'US/Pacific' or 'US/Pacific-New' or
47  
-# 'US/Samoa' or 'UTC' or 'Universal' or 'W-SU' or 'WET' or 'Zulu' or
48  
-# 'posixrules'
49  
-timezone = 'UTC'
50  
-# 'toolbar2' or None
51  
-toolbar = 'toolbar2'
52  
-# a boolean
53  
-units = False
54  
-
55  
-[axes]
56  
-    # a boolean
57  
-    axisbelow = False
58  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
59  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
60  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
61  
-    edgecolor = 'black'
62  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
63  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
64  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
65  
-    facecolor = 'white'
66  
-    # one of: 0 | on | false | 1 | no | n | y | off | yes | true
67  
-    grid = False
68  
-    # one of: 0 | on | false | 1 | no | n | y | off | yes | true
69  
-    hold = True
70  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
71  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
72  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
73  
-    labelcolor = 'black'
74  
-    # a float or 'xx-small' or 'x-small' or 'small' or 'medium' or 'large' or
75  
-    # 'x-large' or 'xx-large'
76  
-    labelsize = 'medium'
77  
-    # a float
78  
-    linewidth = 1.0
79  
-    # one of: 0 | on | false | 1 | no | n | y | off | yes | true
80  
-    polargrid = True
81  
-    # a float or 'xx-small' or 'x-small' or 'small' or 'medium' or 'large' or
82  
-    # 'x-large' or 'xx-large'
83  
-    titlesize = 'large'
84  
-
85  
-    [[formatter]]
86  
-        # a list of from 2 to 2 items which are a float
87  
-        limits = [-7.0, 7.0]
88  
-
89  
-[backend]
90  
-    # one of: ps | qt4agg | fltkagg | gtkagg | agg | cairo | gtk | gtkcairo |
91  
-    # wxagg | tkagg | qtagg | template | svg | cocoaagg | pdf | wx
92  
-    use = 'Agg'
93  
-
94  
-    [[cairo]]
95  
-        # 'png' or 'ps' or 'pdf' or 'svg'
96  
-        format = 'png'
97  
-
98  
-    [[pdf]]
99  
-        # 0 <= an integer <= 9
100  
-        compression = 6
101  
-        # 3 or 42
102  
-        fonttype = 3
103  
-        # a boolean
104  
-        inheritcolor = False
105  
-        # a boolean
106  
-        use14corefonts = False
107  
-
108  
-    [[ps]]
109  
-        # 3 or 42
110  
-        fonttype = 3
111  
-        # 'auto' or 'letter' or 'legal' or 'ledger' or 'A0' or 'A1' or 'A2' or
112  
-        # 'A3' or 'A4' or 'A5' or 'A6' or 'A7' or 'A8' or 'A9' or 'A10' or
113  
-        # 'B0' or 'B1' or 'B2' or 'B3' or 'B4' or 'B5' or 'B6' or 'B7' or 'B8'
114  
-        # or 'B9' or 'B10'
115  
-        papersize = 'letter'
116  
-        # a boolean
117  
-        useafm = False
118  
-
119  
-        [[[distiller]]]
120  
-            # a float
121  
-            resolution = 6000
122  
-            # an implementor of, or can be adapted to implement, bool or None
123  
-            # or None or 'ghostscript' or 'xpdf'
124  
-            use = None
125  
-
126  
-    [[svg]]
127  
-        # a boolean
128  
-        embed_chars = True
129  
-        # a boolean
130  
-        image_inline = True
131  
-        # a boolean
132  
-        image_noscale = False
133  
-
134  
-    [[tk]]
135  
-        # window_focus : Maintain shell focus for TkAgg
136  
-        # pythoninspect: tk sets PYTHONINSPECT
137  
-
138  
-        # a boolean
139  
-        pythoninspect = False
140  
-        # a boolean
141  
-        window_focus = False
142  
-
143  
-[contour]
144  
-    # 'dashed' or 'solid'
145  
-    negative_linestyle = 'dashed'
146  
-
147  
-[figure]
148  
-    # a float
149  
-    dpi = 80
150  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
151  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
152  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
153  
-    edgecolor = 'white'
154  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
155  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
156  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
157  
-    facecolor = '0.75'
158  
-    # a list of from 2 to 2 items which are a float
159  
-    figsize = [8.0, 6.0]
160  
-
161  
-    [[subplot]]
162  
-        # The figure subplot parameters.  All dimensions are fraction
163  
-        # of the figure width or height
164  
-        # a float
165  
-        bottom = 0.10000000000000001
166  
-        # a float
167  
-        hspace = 0.20000000000000001
168  
-        # a float
169  
-        left = 0.125
170  
-        # a float
171  
-        right = 0.90000000000000002
172  
-        # a float
173  
-        top = 0.90000000000000002
174  
-        # a float
175  
-        wspace = 0.20000000000000001
176  
-
177  
-[font]
178  
-    # a list of items which are a value of type 'str'
179  
-    cursive = ['Apple Chancery', 'Textile', 'Zapf Chancery', 'Sand', 'cursive']
180  
-    # 'sans-serif' or 'serif' or 'cursive' or 'fantasy' or 'monospace'
181  
-    family = 'sans-serif'
182  
-    # a list of items which are a value of type 'str'
183  
-    fantasy = ['Comic Sans MS', 'Chicago', 'Charcoal', 'Impact', 'Western', 'fantasy']
184  
-    # a list of items which are a value of type 'str'
185  
-    monospace = ['Bitstream Vera Sans Mono', 'Andale Mono', 'Nimbus Mono L', 'Courier New', 'Courier', 'Fixed', 'Terminal', 'monospace']
186  
-    # a list of items which are a value of type 'str'
187  
-    sans_serif = ['Bitstream Vera Sans', 'Lucida Grande', 'Verdana', 'Geneva', 'Lucid', 'Arial', 'Helvetica', 'Avant Garde', 'sans-serif']
188  
-    # a list of items which are a value of type 'str'
189  
-    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']
190  
-    # a float
191  
-    size = 12.0
192  
-    # 'ultra-condensed' or 'extra-condensed' or 'condensed' or
193  
-    # 'semi-condensed' or 'normal' or 'semi-expanded' or 'expanded' or
194  
-    # 'extra-expanded' or 'ultra-expanded' or 'wider' or 'narrower'
195  
-    stretch = 'normal'
196  
-    # 'normal' or 'italic' or 'oblique'
197  
-    style = 'normal'
198  
-    # 'normal' or 'small-caps'
199  
-    variant = 'normal'
200  
-    # 'normal' or 'bold' or 'bolder' or 'lighter' or 100 or 200 or 300 or 400
201  
-    # or 500 or 600 or 700 or 800 or 900
202  
-    weight = 'normal'
203  
-
204  
-[grid]
205  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
206  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
207  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
208  
-    color = 'black'
209  
-    # '-' or '--' or '-.' or ':' or 'steps' or '' or ' '
210  
-    linestyle = ':'
211  
-    # a float
212  
-    linewidth = 0.5
213  
-
214  
-[image]
215  
-    # a float or 'equal' or 'auto'
216  
-    aspect = 'equal'
217  
-    # 'Accent' or 'Accent_r' or 'Blues' or 'Blues_r' or 'BrBG' or 'BrBG_r' or
218  
-    # 'BuGn' or 'BuGn_r' or 'BuPu' or 'BuPu_r' or 'Dark2' or 'Dark2_r' or
219  
-    # 'GnBu' or 'GnBu_r' or 'Greens' or 'Greens_r' or 'Greys' or 'Greys_r' or
220  
-    #  <...snipped 16 lines...>
221  
-    # 'pink_r' or 'prism' or 'prism_r' or 'spectral' or 'spectral_r' or
222  
-    # 'spring' or 'spring_r' or 'summer' or 'summer_r' or 'winter' or
223  
-    # 'winter_r'
224  
-    cmap = 'jet'
225  
-    # 'bilinear' or 'nearest' or 'bicubic' or 'spline16' or 'spline36' or
226  
-    # 'hanning' or 'hamming' or 'hermite' or 'kaiser' or 'quadric' or 'catrom'
227  
-    # or 'gaussian' or 'bessel' or 'mitchell' or 'sinc' or 'lanczos' or
228  
-    # 'blackman'
229  
-    interpolation = 'bilinear'
230  
-    # an integer
231  
-    lut = 256
232  
-    # 'upper' or 'lower'
233  
-    origin = 'upper'
234  
-
235  
-[legend]
236  
-    # a float or 'xx-small' or 'x-small' or 'small' or 'medium' or 'large' or
237  
-    # 'x-large' or 'xx-large'
238  
-    fontsize = 'medium'
239  
-    # a boolean
240  
-    isaxes = True
241  
-    # 'best' or 'upper right' or 'upper left' or 'lower left' or 'lower right'
242  
-    # or 'right' or 'center left' or 'center right' or 'lower center' or
243  
-    # 'upper center' or 'center'
244  
-    loc = 'upper right'
245  
-    # a float
246  
-    markerscale = 1.0
247  
-    # an integer
248  
-    numpoints = 3
249  
-    # a boolean
250  
-    shadow = False
251  
-    # float
252  
-    borderpad = 0.4
253  
-    # float
254  
-    labelspacing = 0.5
255  
-    # float
256  
-    handlelength = 2.
257  
-    # float
258  
-    handletextpad = 0.8
259  
-    # float
260  
-    borderaxespad = 0.5
261  
-    # float
262  
-    columnspacing = 2.
263  
-
264  
-
265  
-[lines]
266  
-    # a boolean
267  
-    antialiased = True
268  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
269  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
270  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
271  
-    color = 'blue'
272  
-    # 'butt' or 'round' or 'projecting'
273  
-    dash_capstyle = 'butt'
274  
-    # 'miter' or 'round' or 'bevel'
275  
-    dash_joinstyle = 'miter'
276  
-    # '-' or '--' or '-.' or ':' or 'steps' or '' or ' ' or None
277  
-    linestyle = '-'
278  
-    # a float
279  
-    linewidth = 1.0
280  
-    # 'None' or 'o' or '.' or ',' or '^' or 'v' or '<' or '>' or 's' or '+' or
281  
-    # 'x' or 'D' or 'd' or '1' or '2' or '3' or '4' or 'h' or 'H' or 'p' or
282  
-    # '|' or '_'
283  
-    marker = 'None'
284  
-    # a float
285  
-    markeredgewidth = 0.5
286  
-    # a float
287  
-    markersize = 6
288  
-    # 'butt' or 'round' or 'projecting'
289  
-    solid_capstyle = 'butt'
290  
-    # 'miter' or 'round' or 'bevel'
291  
-    solid_joinstyle = 'miter'
292  
-
293  
-[mathtext]
294  
-    # A fontconfig pattern.  See the fontconfig user manual for more
295  
-    # information.
296  
-    bf = 'serif:bold'
297  
-    # A fontconfig pattern.  See the fontconfig user manual for more
298  
-    # information.
299  
-    cal = 'cursive'
300  
-    # a boolean
301  
-    fallback_to_cm = True
302  
-    # 'cm' or 'stix' or 'stixsans' or 'custom'
303  
-    fontset = 'cm'
304  
-    # A fontconfig pattern.  See the fontconfig user manual for more
305  
-    # information.
306  
-    it = 'serif:oblique'
307  
-    # A fontconfig pattern.  See the fontconfig user manual for more
308  
-    # information.
309  
-    rm = 'serif'
310  
-    # A fontconfig pattern.  See the fontconfig user manual for more
311  
-    # information.
312  
-    sf = 'sans'
313  
-    # A fontconfig pattern.  See the fontconfig user manual for more
314  
-    # information.
315  
-    tt = 'monospace'
316  
-
317  
-[patch]
318  
-    # a boolean
319  
-    antialiased = True
320  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
321  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
322  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
323  
-    edgecolor = 'black'
324  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
325  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
326  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
327  
-    facecolor = 'blue'
328  
-    # a float
329  
-    linewidth = 1.0
330  
-
331  
-[savefig]
332  
-    # a float
333  
-    dpi = 100
334  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
335  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
336  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
337  
-    edgecolor = 'white'
338  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
339  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
340  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
341  
-    facecolor = 'white'
342  
-    # 'portrait' or 'landscape'
343  
-    orientation = 'portrait'
344  
-
345  
-[text]
346  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
347  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
348  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
349  
-    color = 'black'
350  
-    # a boolean
351  
-    usetex = False
352  
-
353  
-    [[latex]]
354  
-        # a boolean
355  
-        dvipnghack = False
356  
-        # a list of items which are a value of type 'str'
357  
-        preamble = []
358  
-        # a boolean
359  
-        unicode = False
360  
-        # a boolean
361  
-        preview = False
362  
-
363  
-[verbose]
364  
-    # a file name or 'sys.stdout'
365  
-    fileo = 'sys.stdout'
366  
-    # 'silent' or 'helpful' or 'debug' or 'debug-annoying'
367  
-    level = 'silent'
368  
-
369  
-[xticks]
370  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
371  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
372  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
373  
-    color = 'black'
374  
-    # 'in' or 'out'
375  
-    direction = 'in'
376  
-    # a float or 'xx-small' or 'x-small' or 'small' or 'medium' or 'large' or
377  
-    # 'x-large' or 'xx-large'
378  
-    labelsize = 'small'
379  
-
380  
-    [[major]]
381  
-        # a float
382  
-        pad = 4
383  
-        # a float
384  
-        size = 4
385  
-
386  
-    [[minor]]
387  
-        # a float
388  
-        pad = 4
389  
-        # a float
390  
-        size = 2
391  
-
392  
-[yticks]
393  
-    # any valid matplotlib color, eg an abbreviation like 'r' for red, a full
394  
-    # name like 'orange', a hex color like '#efefef', a grayscale intensity
395  
-    # like '0.5', or an RGBA tuple (1,0,0,1)
396  
-    color = 'black'
397  
-    # 'in' or 'out'
398  
-    direction = 'in'
399  
-    # a float or 'xx-small' or 'x-small' or 'small' or 'medium' or 'large' or
400  
-    # 'x-large' or 'xx-large'
401  
-    labelsize = 'small'
402  
-
403  
-    [[major]]
404  
-        # a float
405  
-        pad = 4
406  
-        # a float
407  
-        size = 4
408  
-
409  
-    [[minor]]
410  
-        # a float
411  
-        pad = 4
412  
-        # a float
413  
-        size = 2
8  setup.py
@@ -103,7 +103,6 @@
103 103
                               'mpl-data/images/*.ppm',
104 104
                               'mpl-data/example/*.npy',
105 105
                               'mpl-data/matplotlibrc',
106  
-                              'mpl-data/matplotlib.conf',
107 106
                               'mpl-data/*.glade',
108 107
                               'backends/Matplotlib.nib/*',
109 108
                               ]}
@@ -244,13 +243,6 @@ def add_dateutil():
244 243
 template = open('matplotlibrc.template').read()
245 244
 open('lib/matplotlib/mpl-data/matplotlibrc', 'w').write(template%rc)
246 245
 
247  
-# Write the default matplotlib.conf file
248  
-template = open('lib/matplotlib/mpl-data/matplotlib.conf.template').read()
249  
-template = template.replace("datapath = ", "#datapath = ")
250  
-template = template.replace("    use = 'Agg'", "    use = '%s'"%rc['backend'])
251  
-open('lib/matplotlib/mpl-data/matplotlib.conf', 'w').write(template)
252  
-
253  
-
254 246
 try: additional_params # has setupegg.py provided
255 247
 except NameError: additional_params = {}
256 248
 
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.