Commit 2fe1f6bc authored by Simon May's avatar Simon May
Browse files

Make matplotlibrc ASCII-only (for Python 2)

parent 9677148d
### ATTENTION: For Python 2, this file should be ASCII-only due to the
### way matplotlib gets the default encoding!
### MATPLOTLIBRC FORMAT
# This is a sample matplotlib configuration file you can find a copy
# This is a sample matplotlib configuration file; you can find a copy
# of it on your system in
# site-packages/matplotlib/mpl-data/matplotlibrc. If you edit it
# there, please note that it will be overwritten in your next install.
......@@ -21,10 +24,10 @@
# have the format
# key: val # optional comment
#
# Colors: for the color values below, you can either use a
# matplotlib color string, such as r, k, or b an rgb tuple, such as
# (1.0, 0.5, 0.0) a hex string, such as ff00ff a scalar
# grayscale intensity such as 0.75 a legal HTML color name, e.g., red,
# Colors: for the color values below, you can either use: a
# matplotlib color string, such as r, k, or b; an rgb tuple, such as
# (1.0, 0.5, 0.0); a hex string, such as ff00ff; a scalar
# grayscale intensity such as 0.75; a legal HTML color name, e.g., red,
# blue, darkslategray
#### CONFIGURATION BEGINS HERE
......@@ -36,13 +39,13 @@
# referring to the module name (which must be in the PYTHONPATH) as
# 'module://my_backend'.
#
# If you omit this parameter, it will always default to Agg, which is a
# If you omit this parameter, it will always default to "Agg", which is a
# non-interactive backend.
#backend: Agg
# Note that this can be overridden by the environment variable
# QT_API used by Enthought Tool Suite (ETS); valid values are
# pyqt and pyside. The pyqt setting has the side effect of
# "pyqt" and "pyside". The "pyqt" setting has the side effect of
# forcing the use of Version 2 API for QString and QVariant.
# The port to use for the web server in the WebAgg backend.
......@@ -64,7 +67,7 @@
#backend_fallback: True
#interactive: False
#toolbar : toolbar2 # None | toolbar2 (classic is deprecated)
#toolbar : toolbar2 # None | toolbar2 ("classic" is deprecated)
#timezone : UTC # a pytz timezone string, e.g., US/Central or Europe/Paris
# Where your matplotlib data lives if you installed to a non-default
......@@ -178,7 +181,7 @@
# size.
#
# The font.weight property has effectively 13 values: normal, bold,
# bolder, lighter, 100, 200, 300, , 900. Normal is the same as
# bolder, lighter, 100, 200, 300, ..., 900. Normal is the same as
# 400, and bold is 700. bolder and lighter are relative values with
# respect to the current weight.
#
......@@ -223,7 +226,7 @@
# If another font is desired which can loaded using the
# LaTeX \usepackage command, please inquire at the
# matplotlib mailing list
#text.latex.unicode: False # use ucs and inputenc LaTeX packages for handling
#text.latex.unicode: False # use "ucs" and "inputenc" LaTeX packages for handling
# unicode strings.
#text.latex.preamble: # IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES
# AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP
......@@ -273,7 +276,7 @@
#mathtext.default: it # The default font to use for math.
# Can be any of the LaTeX font names, including
# the special name regular for the same font
# the special name "regular" for the same font
# used in regular text.
### AXES
......@@ -327,8 +330,8 @@
# color cycle for plot lines as list of string
# colorspecs: single letter, long name, or web-style hex
#axes.autolimit_mode: data # How to scale axes limits to the data.
# Use data to use data limits, plus some margin
# Use round_number move to the nearest round number
# Use "data" to use data limits, plus some margin
# Use "round_number" move to the nearest "round" number
#axes.xmargin : .05 # x margin. See `axes.Axes.margins`
#axes.ymargin : .05 # y margin See `axes.Axes.margins`
......@@ -391,7 +394,7 @@
### GRIDS
#grid.color : b0b0b0 # grid color
#grid.linestyle: # solid
#grid.linestyle: - # solid
#grid.linewidth: 0.8 # in points
#grid.alpha : 1.0 # transparency, between 0.0 and 1.0
......@@ -449,7 +452,7 @@
### IMAGES
#image.aspect : equal # equal | auto | a number
#image.interpolation : nearest # see help(imshow) for options
#image.cmap : viridis # A colormap name, gray etc
#image.cmap : viridis # A colormap name (gray etc.)
#image.lut : 256 # the size of the colormap lookup table
#image.origin : upper # lower | upper
#image.resample : True
......@@ -484,7 +487,7 @@
# A value of 20000 is probably a good
# starting point.
### SAVING FIGURES
#path.simplify: True # When True, simplify paths by removing invisible
#path.simplify: True # When True, simplify paths by removing "invisible"
# points to reduce file size and increase rendering
# speed
#path.simplify_threshold: 0.1 # The threshold of similarity below which
......@@ -542,8 +545,8 @@
#svg.image_inline: True # write raster image data directly into the svg file
#svg.fonttype : 'path' # How to handle SVG fonts:
# 'none': Assume fonts are installed on the machine where the SVG will be viewed.
# 'path': Embed characters as paths supported by most SVG renderers
# 'svgfont': Embed characters as SVG fonts supported only by Chrome,
# 'path': Embed characters as paths; supported by most SVG renderers
# 'svgfont': Embed characters as SVG fonts; supported only by Chrome,
# Opera and Safari
#svg.hashsalt : None # if not None, use this string as hash salt
# instead of uuid4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment