開始行:
[[FrontPage/Python/PySide]]
https://gist.githubusercontent.com/peace098beat/079519713...
import matplotlib as mpl
### MATPLOTLIBRC FORMAT
# This is a sample matplotlib configuration file - you ca...
# of it on your system in
# site-packages/matplotlib/mpl-data/matplotlibrc. If you...
# there, please note that it will be overwritten in your ...
# If you want to keep a permanent local copy that will no...
# overwritten, place it in HOME/.matplotlib/matplotlibrc ...
# like systems) and C:\Documents and Settings\yourname\.m...
# (win32 systems).
#
# This file is best viewed in a editor which supports pyt...
# syntax highlighting. Blank lines, or lines starting wit...
# symbol, are ignored, as are trailing comments. Other l...
# have the format
# key : val # optional comment
#
# Colors: for the color values below, you can either use ...
# matplotlib color string, such as r, k, or b - an rgb tu...
# (1.0, 0.5, 0.0) - a hex string, such as ff00ff or #ff00...
# grayscale intensity such as 0.75 - a legal html color n...
# blue, darkslategray
#### CONFIGURATION BEGINS HERE
# the default backend; one of GTK GTKAgg GTKCairo GTK3Agg...
# CocoaAgg MacOSX Qt4Agg TkAgg WX WXAgg Agg Cairo GDK PS ...
# Template
# You can also deploy your own backend outside of matplot...
# referring to the module name (which must be in the PYTH...
# 'module://my_backend'
# backend : qt4agg
mpl.rcParams['backend'] = 'qt4agg'
# If you are using the Qt4Agg backend, you can choose here
# to use the PyQt4 bindings or the newer PySide bindings to
# the underlying Qt4 toolkit.
#backend.qt4 : PyQt4 # PyQt4 | PySide
mpl.rcParams['backend.qt4'] = 'PyQt4'
# Note that this can be overridden by the environment var...
# QT_API used by Enthought Tool Suite (ETS); valid values...
# "pyqt" and "pyside". The "pyqt" setting has the side e...
# forcing the use of Version 2 API for QString and QVaria...
# The port to use for the web server in the WebAgg backend.
# webagg.port : 8888
mpl.rcParams['webagg.port'] = '8888'
# If webagg.port is unavailable, a number of other random...
# be tried until one that is available is found.
# webagg.port_retries : 50
mpl.rcParams['webagg.port_retries'] = '50'
# When True, open the webbrowser to the plot that is shown
# webagg.open_in_browser : True
# if you are running pyplot inside a GUI and your backend...
# conflicts, we will automatically try to find a compatib...
# you if backend_fallback is True
#backend_fallback: True
#interactive : False
#toolbar : toolbar2 # None | toolbar2 ("classic" ...
#timezone : UTC # a pytz timezone string, eg U...
# Where your matplotlib data lives if you installed to a ...
# location. This is where the matplotlib fonts, bitmaps,...
#datapath : /home/jdhunter/mpldata
### LINES
# See http://matplotlib.org/api/artist_api.html#module-ma...
# information on line properties.
#lines.linewidth : 1.0 # line width in points
#lines.linestyle : - # solid line
#lines.color : blue # has no affect on plot(); s...
#lines.marker : None # the default marker
#lines.markeredgewidth : 0.5 # the line width around...
#lines.markersize : 6 # markersize, in points
#lines.dash_joinstyle : miter # miter|round|bevel
#lines.dash_capstyle : butt # butt|round|project...
#lines.solid_joinstyle : miter # miter|round|bevel
#lines.solid_capstyle : projecting # butt|round|project...
#lines.antialiased : True # render lines in antia...
mpl.rcParams['lines.linewidth'] = 1.0
mpl.rcParams['lines.linestyle'] = '-'
mpl.rcParams['lines.color'] = 'blue'
mpl.rcParams['lines.marker'] = None
mpl.rcParams['lines.markeredgewidth'] = 0.5
mpl.rcParams['lines.antialiased'] = True
### PATCHES
# Patches are graphical objects that fill 2D space, like ...
# circles. See
# http://matplotlib.org/api/artist_api.html#module-matplo...
# information on patch properties
#patch.linewidth : 1.0 # edge width in points
#patch.facecolor : blue
#patch.edgecolor : black
#patch.antialiased : True # render patches in ant...
### FONT
#
# font properties used by text.Text. See
# http://matplotlib.org/api/font_manager_api.html for more
# information on font properties. The 6 font properties ...
# matching are given below with their default values.
#
# The font.family property has five values: 'serif' (e.g....
# 'sans-serif' (e.g., Helvetica), 'cursive' (e.g., Zapf-C...
# 'fantasy' (e.g., Western), and 'monospace' (e.g., Couri...
# these font families has a default list of font names in...
# order of priority associated with them. When text.uset...
# font.family may also be one or more concrete font names.
#
# The font.style property has three values: normal (or ro...
# or oblique. The oblique style will be used for italic,...
# present.
#
# The font.variant property has two values: normal or sma...
# TrueType fonts, which are scalable fonts, small-caps is...
# to using a font size of 'smaller', or about 83% of the ...
# size.
#
# The font.weight property has effectively 13 values: nor...
# bolder, lighter, 100, 200, 300, ..., 900. Normal is th...
# 400, and bold is 700. bolder and lighter are relative ...
# respect to the current weight.
#
# The font.stretch property has 11 values: ultra-condensed,
# extra-condensed, condensed, semi-condensed, normal, sem...
# expanded, extra-expanded, ultra-expanded, wider, and na...
# property is not currently implemented.
#
# The font.size property is the default font size for tex...
# 12pt is the standard value.
#
font.family : sans-serif
font.style : normal
font.variant : normal
font.weight : medium
font.stretch : normal
# note that font.size controls default text sizes. To co...
# special text sizes tick labels, axes, labels, title, et...
# settings for axes and ticks. Special text sizes can be ...
# relative to font.size, using the following values: xx-s...
# small, medium, large, x-large, xx-large, larger, or sma...
font.size : 12.0
font.serif : Bitstream Vera Serif, New Century S...
font.sans-serif : Bitstream Vera Sans, Lucida Grande,...
font.cursive : Apple Chancery, Textile, Zapf Chanc...
font.fantasy : Comic Sans MS, Chicago, Charcoal, I...
font.monospace : Bitstream Vera Sans Mono, Andale Mo...
### TEXT
# text properties used by text.Text. See
# http://matplotlib.org/api/artist_api.html#module-matplo...
# information on text properties
#text.color : black
### LaTeX customizations. See http://www.scipy.org/Wiki/C...
#text.usetex : False # use latex for all text ha...
# are supported through the...
# new century schoolbook, b...
# zapf chancery, charter, s...
# avant garde, courier, mon...
# computer modern sans seri...
# If another font is desire...
# LaTeX \usepackage command...
# matplotlib mailing list
#text.latex.unicode : False # use "ucs" and "inputenc" La...
# unicode strings.
#text.latex.preamble : # IMPROPER USE OF THIS FEATURE WI...
# AND IS THEREFORE UNSUPPORTE...
# IF THIS FEATURE DOES NOT DO...
# preamble is a comma separat...
# that are included in the La...
# An example:
# text.latex.preamble : \usep...
# The following packages are ...
# beware of package collision...
# type1cm, textcomp. Adobe Po...
# may also be loaded, dependi...
#text.dvipnghack : None # some versions of dvipng do...
# channel properly. Use Tru...
# and flush ~/.matplotlib/te...
# before testing and False t...
# correction off. None will...
# guess based on your dvipng...
#text.hinting : 'auto' # May be one of the following:
# 'none': Perform no hinting
# 'auto': Use freetype's autohin...
# 'native': Use the hinting info...
# font file, if availa...
# freetype library sup...
# 'either': Use the native hinti...
# or the autohinter if...
# For backward compatibility, this...
# True === 'auto' or False === 'no...
#text.hinting_factor : 8 # Specifies the amount of softne...
# horizontal direction. A value...
# pixels. A value of 2 will hin...
#text.antialiased : True # If True (default), the text wi...
# This only affects the Agg back...
# The following settings allow you to select the fonts in...
# They map from a TeX font name to a fontconfig font patt...
# These settings are only used if mathtext.fontset is 'cu...
# Note that this "custom" mode is unsupported and may go ...
# future.
#mathtext.cal : cursive
#mathtext.rm : serif
#mathtext.tt : monospace
#mathtext.it : serif:italic
#mathtext.bf : serif:bold
#mathtext.sf : sans
#mathtext.fontset : cm # Should be 'cm' (Computer Modern)...
# 'stixsans' or 'custom'
#mathtext.fallback_to_cm : True # When True, use symbols...
# fonts when a symbol ca...
# the custom math fonts.
#mathtext.default : it # The default font to use for math.
# Can be any of the LaTeX font nam...
# the special name "regular" for t...
# used in regular text.
### AXES
# default face and edge color, default tick sizes,
# default fontsizes for ticklabels, and so on. See
# http://matplotlib.org/api/axes_api.html#module-matplotl...
#axes.hold : True # whether to clear the axe...
#axes.facecolor : white # axes background color
#axes.edgecolor : black # axes edge color
#axes.linewidth : 1.0 # edge linewidth
#axes.grid : False # display grid or not
#axes.titlesize : large # fontsize of the axes title
#axes.labelsize : medium # fontsize of the x any y ...
#axes.labelweight : normal # weight of the x and y la...
#axes.labelcolor : black
#axes.axisbelow : False # whether axis gridlines a...
# the axes elements (lines,...
#axes.formatter.limits : -7, 7 # use scientific notation ...
# of the axis range is sma...
# first or larger than the...
#axes.formatter.use_locale : False # When True, format ti...
# according to the use...
# For example, use ','...
# separator in the fr_...
#axes.formatter.use_mathtext : False # When True, use mat...
# notation.
#axes.unicode_minus : True # use unicode for the minu...
# rather than hyphen. See
# http://en.wikipedia.org/...
#axes.color_cycle : b, g, r, c, m, y, k # color cycle...
# as list of ...
# single lett...
# web-style hex
#axes.xmargin : 0 # x margin. See `axes.Axes.mar...
#axes.ymargin : 0 # y margin See `axes.Axes.margi...
#polaraxes.grid : True # display grid on polar axes
#axes3d.grid : True # display grid on 3d axes
### TICKS
# see http://matplotlib.org/api/axis_api.html#matplotlib....
#xtick.major.size : 4 # major tick size in points
#xtick.minor.size : 2 # minor tick size in points
#xtick.major.width : 0.5 # major tick width in points
#xtick.minor.width : 0.5 # minor tick width in points
#xtick.major.pad : 4 # distance to major tick l...
#xtick.minor.pad : 4 # distance to the minor ti...
#xtick.color : k # color of the tick labels
#xtick.labelsize : medium # fontsize of the tick lab...
#xtick.direction : in # direction: in, out, or i...
#ytick.major.size : 4 # major tick size in points
#ytick.minor.size : 2 # minor tick size in points
#ytick.major.width : 0.5 # major tick width in points
#ytick.minor.width : 0.5 # minor tick width in points
#ytick.major.pad : 4 # distance to major tick l...
#ytick.minor.pad : 4 # distance to the minor ti...
#ytick.color : k # color of the tick labels
#ytick.labelsize : medium # fontsize of the tick lab...
#ytick.direction : in # direction: in, out, or i...
### GRIDS
#grid.color : black # grid color
#grid.linestyle : : # dotted
#grid.linewidth : 0.5 # in points
#grid.alpha : 1.0 # transparency, between 0.0...
### Legend
#legend.fancybox : False # if True, use a rounded b...
# legend, else a rectangle
#legend.isaxes : True
#legend.numpoints : 2 # the number of points in ...
#legend.fontsize : large
#legend.borderpad : 0.5 # border whitespace in fon...
#legend.markerscale : 1.0 # the relative size of leg...
# the following dimensions are in axes coords
#legend.labelspacing : 0.5 # the vertical space betwe...
#legend.handlelength : 2. # the length of the legend...
#legend.handleheight : 0.7 # the height of the legen...
#legend.handletextpad : 0.8 # the space between the le...
#legend.borderaxespad : 0.5 # the border between the ax...
#legend.columnspacing : 2. # the border between the ax...
#legend.shadow : False
#legend.frameon : True # whether or not to draw a...
#legend.scatterpoints : 3 # number of scatter points
### FIGURE
# See http://matplotlib.org/api/figure_api.html#matplotli...
#figure.figsize : 8, 6 # figure size in inches
#figure.dpi : 80 # figure dots per inch
#figure.facecolor : 0.75 # figure facecolor; 0.75 is s...
#figure.edgecolor : white # figure edgecolor
#figure.autolayout : False # When True, automatically ad...
# parameters to make the plot...
#figure.max_open_warning : 20 # The maximum number of fi...
# the pyplot interface bef...
# If less than one this fe...
# The figure subplot parameters. All dimensions are a fr...
# figure width or height
#figure.subplot.left : 0.125 # the left side of the s...
#figure.subplot.right : 0.9 # the right side of the ...
#figure.subplot.bottom : 0.1 # the bottom of the subp...
#figure.subplot.top : 0.9 # the top of the subplot...
#figure.subplot.wspace : 0.2 # the amount of width re...
#figure.subplot.hspace : 0.2 # the amount of height r...
### IMAGES
#image.aspect : equal # equal | auto | a number
#image.interpolation : bilinear # see help(imshow) for ...
#image.cmap : jet # gray | jet etc...
#image.lut : 256 # the size of the color...
#image.origin : upper # lower | upper
#image.resample : False
### CONTOUR PLOTS
#contour.negative_linestyle : dashed # dashed | solid
### Agg rendering
### Warning: experimental, 2008/10/10
#agg.path.chunksize : 0 # 0 to disable; values ...
# 10000 to 100000 can i...
# and prevent an Agg re...
# when plotting very la...
# especially if they ar...
# It may cause minor ar...
# A value of 20000 is p...
# starting point.
### SAVING FIGURES
#path.simplify : True # When True, simplify paths by re...
# points to reduce file size and ...
# speed
#path.simplify_threshold : 0.1 # The threshold of simila...
# vertices will be remove...
# process
#path.snap : True # When True, rectilinear axis-aligned p...
# the nearest pixel when certain criter...
# paths will never be snapped.
#path.sketch : None # May be none, or a 3-tuple of the fo...
# randomness).
# *scale* is the amplitude of the wig...
# perpendicular to the line (in pixel...
# is the length of the wiggle along t...
# pixels). *randomness* is the facto...
# the length is randomly scaled.
# the default savefig params can be different from the di...
# e.g., you may want a higher resolution, or to make the ...
# background white
#savefig.dpi : 100 # figure dots per inch
#savefig.facecolor : white # figure facecolor when s...
#savefig.edgecolor : white # figure edgecolor when s...
#savefig.format : png # png, ps, pdf, svg
#savefig.bbox : standard # 'tight' or 'standard'.
#savefig.pad_inches : 0.1 # Padding to be used when...
#savefig.jpeg_quality: 95 # when a jpeg is saved, t...
#savefig.directory : ~ # default directory in sa...
# leave empty to always u...
# tk backend params
#tk.window_focus : False # Maintain shell focus for ...
# ps backend params
#ps.papersize : letter # auto, letter, legal, ledg...
#ps.useafm : False # use of afm fonts, results...
#ps.usedistiller : False # can be: None, ghostscript...
# Experimental:...
# xpdf intended...
# but requires ...
#ps.distiller.res : 6000 # dpi
#ps.fonttype : 3 # Output Type 3 (Type3) or...
# pdf backend params
#pdf.compression : 6 # integer from 0 to 9
# 0 disables compression (good for...
#pdf.fonttype : 3 # Output Type 3 (Type3) o...
# svg backend params
#svg.image_inline : True # write raster image data ...
#svg.image_noscale : False # suppress scaling of rast...
#svg.fonttype : 'path' # How to handle SVG fonts:
# 'none': Assume fonts are installed on the machine wh...
# 'path': Embed characters as paths -- supported by mo...
# 'svgfont': Embed characters as SVG fonts -- supporte...
# Opera and Safari
# docstring params
#docstring.hardcopy = False # set this when you want to ...
# Set the verbose flags. This controls how much informat...
# matplotlib gives you at runtime and where it goes. The...
# levels are: silent, helpful, debug, debug-annoying. An...
# inclusive of all the levels below it. If your setting ...
# you'll get all the debug and helpful messages. When su...
# problems to the mailing-list, please set verbose to "he...
# and paste the output into your report.
#
# The "fileo" gives the destination for any calls to verb...
# These objects can a filename, or a filehandle like sys....
#
# You can override the rc default verbosity from the comm...
# giving the flags --verbose-LEVEL where LEVEL is one of ...
# levels, eg --verbose-helpful.
#
# You can access the verbose instance in your code
# from matplotlib import verbose.
#verbose.level : silent # one of silent, helpful, d...
#verbose.fileo : sys.stdout # a log filename, sys.stdou...
# Event keys to interact with figures/plots via keyboard.
# Customize these settings according to your needs.
# Leave the field(s) empty if you don't need a key-map. (...
#keymap.fullscreen : f # toggling
#keymap.home : h, r, home # home or reset mnem...
#keymap.back : left, c, backspace # forward / backward...
#keymap.forward : right, v # left handed quic...
#keymap.pan : p # pan mnemonic
#keymap.zoom : o # zoom mnemonic
#keymap.save : s # saving current fig...
#keymap.quit : ctrl+w, cmd+w # close the current ...
#keymap.grid : g # switching on/off a...
#keymap.yscale : l # toggle scaling of ...
#keymap.xscale : L, k # toggle scaling of ...
#keymap.all_axes : a # enable all axes
# Control location of examples data files
#examples.directory : '' # directory to look in for cus...
###ANIMATION settings
#animation.writer : ffmpeg # MovieWriter 'backend...
#animation.codec : mp4 # Codec to use for wri...
#animation.bitrate: -1 # Controls size/qualit...
# -1 implies let utili...
#animation.frame_format: 'png' # Controls frame forma...
#animation.ffmpeg_path: 'ffmpeg' # Path to ffmpeg binar...
# $PATH is searched
#animation.ffmpeg_args: '' # Additional arguments...
#animation.avconv_path: 'avconv' # Path to avconv binar...
# $PATH is searched
#animation.avconv_args: '' # Additional arguments...
#animation.mencoder_path: 'mencoder'
# Path to mencoder bin...
# $PATH is searched
#animation.mencoder_args: '' # Additional arguments...
終了行:
[[FrontPage/Python/PySide]]
https://gist.githubusercontent.com/peace098beat/079519713...
import matplotlib as mpl
### MATPLOTLIBRC FORMAT
# This is a sample matplotlib configuration file - you ca...
# of it on your system in
# site-packages/matplotlib/mpl-data/matplotlibrc. If you...
# there, please note that it will be overwritten in your ...
# If you want to keep a permanent local copy that will no...
# overwritten, place it in HOME/.matplotlib/matplotlibrc ...
# like systems) and C:\Documents and Settings\yourname\.m...
# (win32 systems).
#
# This file is best viewed in a editor which supports pyt...
# syntax highlighting. Blank lines, or lines starting wit...
# symbol, are ignored, as are trailing comments. Other l...
# have the format
# key : val # optional comment
#
# Colors: for the color values below, you can either use ...
# matplotlib color string, such as r, k, or b - an rgb tu...
# (1.0, 0.5, 0.0) - a hex string, such as ff00ff or #ff00...
# grayscale intensity such as 0.75 - a legal html color n...
# blue, darkslategray
#### CONFIGURATION BEGINS HERE
# the default backend; one of GTK GTKAgg GTKCairo GTK3Agg...
# CocoaAgg MacOSX Qt4Agg TkAgg WX WXAgg Agg Cairo GDK PS ...
# Template
# You can also deploy your own backend outside of matplot...
# referring to the module name (which must be in the PYTH...
# 'module://my_backend'
# backend : qt4agg
mpl.rcParams['backend'] = 'qt4agg'
# If you are using the Qt4Agg backend, you can choose here
# to use the PyQt4 bindings or the newer PySide bindings to
# the underlying Qt4 toolkit.
#backend.qt4 : PyQt4 # PyQt4 | PySide
mpl.rcParams['backend.qt4'] = 'PyQt4'
# Note that this can be overridden by the environment var...
# QT_API used by Enthought Tool Suite (ETS); valid values...
# "pyqt" and "pyside". The "pyqt" setting has the side e...
# forcing the use of Version 2 API for QString and QVaria...
# The port to use for the web server in the WebAgg backend.
# webagg.port : 8888
mpl.rcParams['webagg.port'] = '8888'
# If webagg.port is unavailable, a number of other random...
# be tried until one that is available is found.
# webagg.port_retries : 50
mpl.rcParams['webagg.port_retries'] = '50'
# When True, open the webbrowser to the plot that is shown
# webagg.open_in_browser : True
# if you are running pyplot inside a GUI and your backend...
# conflicts, we will automatically try to find a compatib...
# you if backend_fallback is True
#backend_fallback: True
#interactive : False
#toolbar : toolbar2 # None | toolbar2 ("classic" ...
#timezone : UTC # a pytz timezone string, eg U...
# Where your matplotlib data lives if you installed to a ...
# location. This is where the matplotlib fonts, bitmaps,...
#datapath : /home/jdhunter/mpldata
### LINES
# See http://matplotlib.org/api/artist_api.html#module-ma...
# information on line properties.
#lines.linewidth : 1.0 # line width in points
#lines.linestyle : - # solid line
#lines.color : blue # has no affect on plot(); s...
#lines.marker : None # the default marker
#lines.markeredgewidth : 0.5 # the line width around...
#lines.markersize : 6 # markersize, in points
#lines.dash_joinstyle : miter # miter|round|bevel
#lines.dash_capstyle : butt # butt|round|project...
#lines.solid_joinstyle : miter # miter|round|bevel
#lines.solid_capstyle : projecting # butt|round|project...
#lines.antialiased : True # render lines in antia...
mpl.rcParams['lines.linewidth'] = 1.0
mpl.rcParams['lines.linestyle'] = '-'
mpl.rcParams['lines.color'] = 'blue'
mpl.rcParams['lines.marker'] = None
mpl.rcParams['lines.markeredgewidth'] = 0.5
mpl.rcParams['lines.antialiased'] = True
### PATCHES
# Patches are graphical objects that fill 2D space, like ...
# circles. See
# http://matplotlib.org/api/artist_api.html#module-matplo...
# information on patch properties
#patch.linewidth : 1.0 # edge width in points
#patch.facecolor : blue
#patch.edgecolor : black
#patch.antialiased : True # render patches in ant...
### FONT
#
# font properties used by text.Text. See
# http://matplotlib.org/api/font_manager_api.html for more
# information on font properties. The 6 font properties ...
# matching are given below with their default values.
#
# The font.family property has five values: 'serif' (e.g....
# 'sans-serif' (e.g., Helvetica), 'cursive' (e.g., Zapf-C...
# 'fantasy' (e.g., Western), and 'monospace' (e.g., Couri...
# these font families has a default list of font names in...
# order of priority associated with them. When text.uset...
# font.family may also be one or more concrete font names.
#
# The font.style property has three values: normal (or ro...
# or oblique. The oblique style will be used for italic,...
# present.
#
# The font.variant property has two values: normal or sma...
# TrueType fonts, which are scalable fonts, small-caps is...
# to using a font size of 'smaller', or about 83% of the ...
# size.
#
# The font.weight property has effectively 13 values: nor...
# bolder, lighter, 100, 200, 300, ..., 900. Normal is th...
# 400, and bold is 700. bolder and lighter are relative ...
# respect to the current weight.
#
# The font.stretch property has 11 values: ultra-condensed,
# extra-condensed, condensed, semi-condensed, normal, sem...
# expanded, extra-expanded, ultra-expanded, wider, and na...
# property is not currently implemented.
#
# The font.size property is the default font size for tex...
# 12pt is the standard value.
#
font.family : sans-serif
font.style : normal
font.variant : normal
font.weight : medium
font.stretch : normal
# note that font.size controls default text sizes. To co...
# special text sizes tick labels, axes, labels, title, et...
# settings for axes and ticks. Special text sizes can be ...
# relative to font.size, using the following values: xx-s...
# small, medium, large, x-large, xx-large, larger, or sma...
font.size : 12.0
font.serif : Bitstream Vera Serif, New Century S...
font.sans-serif : Bitstream Vera Sans, Lucida Grande,...
font.cursive : Apple Chancery, Textile, Zapf Chanc...
font.fantasy : Comic Sans MS, Chicago, Charcoal, I...
font.monospace : Bitstream Vera Sans Mono, Andale Mo...
### TEXT
# text properties used by text.Text. See
# http://matplotlib.org/api/artist_api.html#module-matplo...
# information on text properties
#text.color : black
### LaTeX customizations. See http://www.scipy.org/Wiki/C...
#text.usetex : False # use latex for all text ha...
# are supported through the...
# new century schoolbook, b...
# zapf chancery, charter, s...
# avant garde, courier, mon...
# computer modern sans seri...
# If another font is desire...
# LaTeX \usepackage command...
# matplotlib mailing list
#text.latex.unicode : False # use "ucs" and "inputenc" La...
# unicode strings.
#text.latex.preamble : # IMPROPER USE OF THIS FEATURE WI...
# AND IS THEREFORE UNSUPPORTE...
# IF THIS FEATURE DOES NOT DO...
# preamble is a comma separat...
# that are included in the La...
# An example:
# text.latex.preamble : \usep...
# The following packages are ...
# beware of package collision...
# type1cm, textcomp. Adobe Po...
# may also be loaded, dependi...
#text.dvipnghack : None # some versions of dvipng do...
# channel properly. Use Tru...
# and flush ~/.matplotlib/te...
# before testing and False t...
# correction off. None will...
# guess based on your dvipng...
#text.hinting : 'auto' # May be one of the following:
# 'none': Perform no hinting
# 'auto': Use freetype's autohin...
# 'native': Use the hinting info...
# font file, if availa...
# freetype library sup...
# 'either': Use the native hinti...
# or the autohinter if...
# For backward compatibility, this...
# True === 'auto' or False === 'no...
#text.hinting_factor : 8 # Specifies the amount of softne...
# horizontal direction. A value...
# pixels. A value of 2 will hin...
#text.antialiased : True # If True (default), the text wi...
# This only affects the Agg back...
# The following settings allow you to select the fonts in...
# They map from a TeX font name to a fontconfig font patt...
# These settings are only used if mathtext.fontset is 'cu...
# Note that this "custom" mode is unsupported and may go ...
# future.
#mathtext.cal : cursive
#mathtext.rm : serif
#mathtext.tt : monospace
#mathtext.it : serif:italic
#mathtext.bf : serif:bold
#mathtext.sf : sans
#mathtext.fontset : cm # Should be 'cm' (Computer Modern)...
# 'stixsans' or 'custom'
#mathtext.fallback_to_cm : True # When True, use symbols...
# fonts when a symbol ca...
# the custom math fonts.
#mathtext.default : it # The default font to use for math.
# Can be any of the LaTeX font nam...
# the special name "regular" for t...
# used in regular text.
### AXES
# default face and edge color, default tick sizes,
# default fontsizes for ticklabels, and so on. See
# http://matplotlib.org/api/axes_api.html#module-matplotl...
#axes.hold : True # whether to clear the axe...
#axes.facecolor : white # axes background color
#axes.edgecolor : black # axes edge color
#axes.linewidth : 1.0 # edge linewidth
#axes.grid : False # display grid or not
#axes.titlesize : large # fontsize of the axes title
#axes.labelsize : medium # fontsize of the x any y ...
#axes.labelweight : normal # weight of the x and y la...
#axes.labelcolor : black
#axes.axisbelow : False # whether axis gridlines a...
# the axes elements (lines,...
#axes.formatter.limits : -7, 7 # use scientific notation ...
# of the axis range is sma...
# first or larger than the...
#axes.formatter.use_locale : False # When True, format ti...
# according to the use...
# For example, use ','...
# separator in the fr_...
#axes.formatter.use_mathtext : False # When True, use mat...
# notation.
#axes.unicode_minus : True # use unicode for the minu...
# rather than hyphen. See
# http://en.wikipedia.org/...
#axes.color_cycle : b, g, r, c, m, y, k # color cycle...
# as list of ...
# single lett...
# web-style hex
#axes.xmargin : 0 # x margin. See `axes.Axes.mar...
#axes.ymargin : 0 # y margin See `axes.Axes.margi...
#polaraxes.grid : True # display grid on polar axes
#axes3d.grid : True # display grid on 3d axes
### TICKS
# see http://matplotlib.org/api/axis_api.html#matplotlib....
#xtick.major.size : 4 # major tick size in points
#xtick.minor.size : 2 # minor tick size in points
#xtick.major.width : 0.5 # major tick width in points
#xtick.minor.width : 0.5 # minor tick width in points
#xtick.major.pad : 4 # distance to major tick l...
#xtick.minor.pad : 4 # distance to the minor ti...
#xtick.color : k # color of the tick labels
#xtick.labelsize : medium # fontsize of the tick lab...
#xtick.direction : in # direction: in, out, or i...
#ytick.major.size : 4 # major tick size in points
#ytick.minor.size : 2 # minor tick size in points
#ytick.major.width : 0.5 # major tick width in points
#ytick.minor.width : 0.5 # minor tick width in points
#ytick.major.pad : 4 # distance to major tick l...
#ytick.minor.pad : 4 # distance to the minor ti...
#ytick.color : k # color of the tick labels
#ytick.labelsize : medium # fontsize of the tick lab...
#ytick.direction : in # direction: in, out, or i...
### GRIDS
#grid.color : black # grid color
#grid.linestyle : : # dotted
#grid.linewidth : 0.5 # in points
#grid.alpha : 1.0 # transparency, between 0.0...
### Legend
#legend.fancybox : False # if True, use a rounded b...
# legend, else a rectangle
#legend.isaxes : True
#legend.numpoints : 2 # the number of points in ...
#legend.fontsize : large
#legend.borderpad : 0.5 # border whitespace in fon...
#legend.markerscale : 1.0 # the relative size of leg...
# the following dimensions are in axes coords
#legend.labelspacing : 0.5 # the vertical space betwe...
#legend.handlelength : 2. # the length of the legend...
#legend.handleheight : 0.7 # the height of the legen...
#legend.handletextpad : 0.8 # the space between the le...
#legend.borderaxespad : 0.5 # the border between the ax...
#legend.columnspacing : 2. # the border between the ax...
#legend.shadow : False
#legend.frameon : True # whether or not to draw a...
#legend.scatterpoints : 3 # number of scatter points
### FIGURE
# See http://matplotlib.org/api/figure_api.html#matplotli...
#figure.figsize : 8, 6 # figure size in inches
#figure.dpi : 80 # figure dots per inch
#figure.facecolor : 0.75 # figure facecolor; 0.75 is s...
#figure.edgecolor : white # figure edgecolor
#figure.autolayout : False # When True, automatically ad...
# parameters to make the plot...
#figure.max_open_warning : 20 # The maximum number of fi...
# the pyplot interface bef...
# If less than one this fe...
# The figure subplot parameters. All dimensions are a fr...
# figure width or height
#figure.subplot.left : 0.125 # the left side of the s...
#figure.subplot.right : 0.9 # the right side of the ...
#figure.subplot.bottom : 0.1 # the bottom of the subp...
#figure.subplot.top : 0.9 # the top of the subplot...
#figure.subplot.wspace : 0.2 # the amount of width re...
#figure.subplot.hspace : 0.2 # the amount of height r...
### IMAGES
#image.aspect : equal # equal | auto | a number
#image.interpolation : bilinear # see help(imshow) for ...
#image.cmap : jet # gray | jet etc...
#image.lut : 256 # the size of the color...
#image.origin : upper # lower | upper
#image.resample : False
### CONTOUR PLOTS
#contour.negative_linestyle : dashed # dashed | solid
### Agg rendering
### Warning: experimental, 2008/10/10
#agg.path.chunksize : 0 # 0 to disable; values ...
# 10000 to 100000 can i...
# and prevent an Agg re...
# when plotting very la...
# especially if they ar...
# It may cause minor ar...
# A value of 20000 is p...
# starting point.
### SAVING FIGURES
#path.simplify : True # When True, simplify paths by re...
# points to reduce file size and ...
# speed
#path.simplify_threshold : 0.1 # The threshold of simila...
# vertices will be remove...
# process
#path.snap : True # When True, rectilinear axis-aligned p...
# the nearest pixel when certain criter...
# paths will never be snapped.
#path.sketch : None # May be none, or a 3-tuple of the fo...
# randomness).
# *scale* is the amplitude of the wig...
# perpendicular to the line (in pixel...
# is the length of the wiggle along t...
# pixels). *randomness* is the facto...
# the length is randomly scaled.
# the default savefig params can be different from the di...
# e.g., you may want a higher resolution, or to make the ...
# background white
#savefig.dpi : 100 # figure dots per inch
#savefig.facecolor : white # figure facecolor when s...
#savefig.edgecolor : white # figure edgecolor when s...
#savefig.format : png # png, ps, pdf, svg
#savefig.bbox : standard # 'tight' or 'standard'.
#savefig.pad_inches : 0.1 # Padding to be used when...
#savefig.jpeg_quality: 95 # when a jpeg is saved, t...
#savefig.directory : ~ # default directory in sa...
# leave empty to always u...
# tk backend params
#tk.window_focus : False # Maintain shell focus for ...
# ps backend params
#ps.papersize : letter # auto, letter, legal, ledg...
#ps.useafm : False # use of afm fonts, results...
#ps.usedistiller : False # can be: None, ghostscript...
# Experimental:...
# xpdf intended...
# but requires ...
#ps.distiller.res : 6000 # dpi
#ps.fonttype : 3 # Output Type 3 (Type3) or...
# pdf backend params
#pdf.compression : 6 # integer from 0 to 9
# 0 disables compression (good for...
#pdf.fonttype : 3 # Output Type 3 (Type3) o...
# svg backend params
#svg.image_inline : True # write raster image data ...
#svg.image_noscale : False # suppress scaling of rast...
#svg.fonttype : 'path' # How to handle SVG fonts:
# 'none': Assume fonts are installed on the machine wh...
# 'path': Embed characters as paths -- supported by mo...
# 'svgfont': Embed characters as SVG fonts -- supporte...
# Opera and Safari
# docstring params
#docstring.hardcopy = False # set this when you want to ...
# Set the verbose flags. This controls how much informat...
# matplotlib gives you at runtime and where it goes. The...
# levels are: silent, helpful, debug, debug-annoying. An...
# inclusive of all the levels below it. If your setting ...
# you'll get all the debug and helpful messages. When su...
# problems to the mailing-list, please set verbose to "he...
# and paste the output into your report.
#
# The "fileo" gives the destination for any calls to verb...
# These objects can a filename, or a filehandle like sys....
#
# You can override the rc default verbosity from the comm...
# giving the flags --verbose-LEVEL where LEVEL is one of ...
# levels, eg --verbose-helpful.
#
# You can access the verbose instance in your code
# from matplotlib import verbose.
#verbose.level : silent # one of silent, helpful, d...
#verbose.fileo : sys.stdout # a log filename, sys.stdou...
# Event keys to interact with figures/plots via keyboard.
# Customize these settings according to your needs.
# Leave the field(s) empty if you don't need a key-map. (...
#keymap.fullscreen : f # toggling
#keymap.home : h, r, home # home or reset mnem...
#keymap.back : left, c, backspace # forward / backward...
#keymap.forward : right, v # left handed quic...
#keymap.pan : p # pan mnemonic
#keymap.zoom : o # zoom mnemonic
#keymap.save : s # saving current fig...
#keymap.quit : ctrl+w, cmd+w # close the current ...
#keymap.grid : g # switching on/off a...
#keymap.yscale : l # toggle scaling of ...
#keymap.xscale : L, k # toggle scaling of ...
#keymap.all_axes : a # enable all axes
# Control location of examples data files
#examples.directory : '' # directory to look in for cus...
###ANIMATION settings
#animation.writer : ffmpeg # MovieWriter 'backend...
#animation.codec : mp4 # Codec to use for wri...
#animation.bitrate: -1 # Controls size/qualit...
# -1 implies let utili...
#animation.frame_format: 'png' # Controls frame forma...
#animation.ffmpeg_path: 'ffmpeg' # Path to ffmpeg binar...
# $PATH is searched
#animation.ffmpeg_args: '' # Additional arguments...
#animation.avconv_path: 'avconv' # Path to avconv binar...
# $PATH is searched
#animation.avconv_args: '' # Additional arguments...
#animation.mencoder_path: 'mencoder'
# Path to mencoder bin...
# $PATH is searched
#animation.mencoder_args: '' # Additional arguments...
ページ名: