TEXT   26

matplotlib

Guest on 3rd July 2022 05:24:55 AM

  1. ### MATPLOTLIBRC FORMAT
  2.  
  3. # This is a sample matplotlib configuration file - you can find a copy
  4. # of it on your system in
  5. # site-packages/matplotlib/mpl-data/matplotlibrc.  If you edit it
  6. # there, please note that it will be overridden in your next install.
  7. # If you want to keep a permanent local copy that will not be
  8. # over-written, place it in HOME/.matplotlib/matplotlibrc (unix/linux
  9. # like systems) and C:\Documents and Settings\yourname\.matplotlib
  10. # (win32 systems).
  11. #
  12. # This file is best viewed in a editor which supports python mode
  13. # syntax highlighting. Blank lines, or lines starting with a comment
  14. # symbol, are ignored, as are trailing comments.  Other lines must
  15. # have the format
  16. #    key : val # optional comment
  17. #
  18. # Colors: for the color values below, you can either use - a
  19. # matplotlib color string, such as r, k, or b - an rgb tuple, such as
  20. # (1.0, 0.5, 0.0) - a hex string, such as ff00ff or #ff00ff - a scalar
  21. # grayscale intensity such as 0.75 - a legal html color name, eg red,
  22. # blue, darkslategray
  23.  
  24. #### CONFIGURATION BEGINS HERE
  25.  
  26. # the default backend; one of GTK GTKAgg GTKCairo CocoaAgg FltkAgg
  27. # MacOSX QtAgg Qt4Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG Template
  28. # You can also deploy your own backend outside of matplotlib by
  29. # referring to the module name (which must be in the PYTHONPATH) as
  30. # 'module://my_backend'
  31. #backend      : GTKAgg
  32.  
  33. # if you are runing pyplot inside a GUI and your backend choice
  34. # conflicts, we will automatically try and find a compatible one for
  35. # you if backend_fallback is True
  36. backend_fallback: True
  37. #numerix      : numpy  # numpy, Numeric or numarray
  38. #maskedarray : False       # True to use external maskedarray module
  39.                            # instead of numpy.ma; this is a temporary
  40.                            # setting for testing maskedarray.
  41. #interactive  : False      # see http://matplotlib.sourceforge.net/interactive.html
  42. #toolbar      : toolbar2   # None | classic | toolbar2
  43. #timezone     : UTC        # a pytz timezone string, eg US/Central or Europe/Paris
  44.  
  45. # Where your matplotlib data lives if you installed to a non-default
  46. # location.  This is where the matplotlib fonts, bitmaps, etc reside
  47. #datapath : /home/jdhunter/mpldata
  48.  
  49.  
  50. ### LINES
  51. # See http://matplotlib.sourceforge.net/matplotlib.lines.html for more
  52. # information on line properties.
  53. #lines.linewidth   : 1.0     # line width in points
  54. lines.linewidth   : 3.0     # line width in points
  55. #lines.linestyle   : -       # solid line
  56. #lines.color       : blue
  57. #lines.marker      : None    # the default marker
  58. #lines.markeredgewidth  : 0.5     # the line width around the marker symbol
  59. lines.markersize  : 6            # markersize, in points default 6
  60. #lines.dash_joinstyle : miter        # miter|round|bevel
  61. #lines.dash_capstyle : butt          # butt|round|projecting
  62. #lines.solid_joinstyle : miter       # miter|round|bevel
  63. #lines.solid_capstyle : projecting   # butt|round|projecting
  64. #lines.antialiased : True         # render lines in antialised (no jaggies)
  65.  
  66. ### PATCHES
  67. # Patches are graphical objects that fill 2D space, like polygons or
  68. # circles.  See
  69. # http://matplotlib.sourceforge.net/matplotlib.patches.html for more
  70. # information on patch properties
  71. patch.linewidth         : 2.0     # edge width in points
  72. #patch.facecolor        : blue
  73. #patch.edgecolor        : black
  74. #patch.antialiased      : True    # render patches in antialised (no jaggies)
  75.  
  76. ### FONT
  77. #
  78. # font properties used by text.Text.  See
  79. # http://matplotlib.sourceforge.net/matplotlib.font_manager.html for more
  80. # information on font properties.  The 6 font properties used for font
  81. # matching are given below with their default values.
  82. #
  83. # The font.family property has five values: 'serif' (e.g. Times),
  84. # 'sans-serif' (e.g. Helvetica), 'cursive' (e.g. Zapf-Chancery),
  85. # 'fantasy' (e.g. Western), and 'monospace' (e.g. Courier).  Each of
  86. # these font families has a default list of font names in decreasing
  87. # order of priority associated with them.
  88. #
  89. # The font.style property has three values: normal (or roman), italic
  90. # or oblique.  The oblique style will be used for italic, if it is not
  91. # present.
  92. #
  93. # The font.variant property has two values: normal or small-caps.  For
  94. # TrueType fonts, which are scalable fonts, small-caps is equivalent
  95. # to using a font size of 'smaller', or about 83% of the current font
  96. # size.
  97. #
  98. # The font.weight property has effectively 13 values: normal, bold,
  99. # bolder, lighter, 100, 200, 300, ..., 900.  Normal is the same as
  100. # 400, and bold is 700.  bolder and lighter are relative values with
  101. # respect to the current weight.
  102. #
  103. # The font.stretch property has 11 values: ultra-condensed,
  104. # extra-condensed, condensed, semi-condensed, normal, semi-expanded,
  105. # expanded, extra-expanded, ultra-expanded, wider, and narrower.  This
  106. # property is not currently implemented.
  107. #
  108. # The font.size property is the default font size for text, given in pts.
  109. # 12pt is the standard value.
  110. #
  111. #font.family         : sans-serif
  112. #font.style          : normal
  113. #font.variant        : normal
  114. #font.weight         : medium
  115. #font.stretch        : normal
  116. # note that font.size controls default text sizes.  To configure
  117. # special text sizes tick labels, axes, labels, title, etc, see the rc
  118. # settings for axes and ticks. Special text sizes can be defined
  119. # relative to font.size, using the following values: xx-small, x-small,
  120. # small, medium, large, x-large, xx-large, larger, or smaller
  121. #font.size           : 12.0
  122. font.size           : 18.0
  123. #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
  124. #font.sans-serif     : Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
  125. #font.cursive        : Apple Chancery, Textile, Zapf Chancery, Sand, cursive
  126. #font.fantasy        : Comic Sans MS, Chicago, Charcoal, Impact, Western, fantasy
  127. #font.monospace      : Bitstream Vera Sans Mono, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
  128.  
  129. ### TEXT
  130. # text properties used by text.Text.  See
  131. # http://matplotlib.sourceforge.net/matplotlib.text.html for more
  132. # information on text properties
  133.  
  134. #text.color          : black
  135.  
  136. ### LaTeX customizations. See http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex
  137. #text.usetex         : False  # use latex for all text handling. The following fonts
  138.                               # are supported through the usual rc parameter settings:
  139.                               # new century schoolbook, bookman, times, palatino,
  140.                               # zapf chancery, charter, serif, sans-serif, helvetica,
  141.                               # avant garde, courier, monospace, computer modern roman,
  142.                               # computer modern sans serif, computer modern typewriter
  143.                               # If another font is desired which can loaded using the
  144.                               # LaTeX \usepackage command, please inquire at the
  145.                               # matplotlib mailing list
  146. #text.latex.unicode : False # use "ucs" and "inputenc" LaTeX packages for handling
  147.                             # unicode strings.
  148. #text.latex.preamble :  # IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES
  149.                             # AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP
  150.                             # IF THIS FEATURE DOES NOT DO WHAT YOU EXPECT IT TO.
  151.                             # preamble is a comma separated list of LaTeX statements
  152.                             # that are included in the LaTeX document preamble.
  153.                             # An example:
  154.                             # text.latex.preamble : \usepackage{bm},\usepackage{euler}
  155.                             # The following packages are always loaded with usetex, so
  156.                             # beware of package collisions: color, geometry, graphicx,
  157.                             # type1cm, textcomp. Adobe Postscript (PSSNFS) font packages
  158.                             # may also be loaded, depending on your font settings
  159.  
  160. #text.dvipnghack : None      # some versions of dvipng don't handle alpha
  161.                              # channel properly.  Use True to correct
  162.                              # and flush ~/.matplotlib/tex.cache
  163.                              # before testing and False to force
  164.                              # correction off.  None will try and
  165.                              # guess based on your dvipng version
  166.  
  167. #text.markup         : 'plain'  # Affects how text, such as titles and labels, are
  168.                                 # interpreted by default.
  169.                                 # 'plain': As plain, unformatted text
  170.                                 # 'tex': As TeX-like text.  Text between $'s will be
  171.                                 # formatted as a TeX math expression.
  172.                                 # This setting has no effect when text.usetex is True.
  173.                                 # In that case, all text will be sent to TeX for
  174.                                 # processing.
  175.  
  176. # The following settings allow you to select the fonts in math mode.
  177. # They map from a TeX font name to a fontconfig font pattern.
  178. # These settings are only used if mathtext.fontset is 'custom'.
  179. # Note that this "custom" mode is unsupported and may go away in the
  180. # future.
  181. #mathtext.cal : cursive
  182. #mathtext.rm  : serif
  183. #mathtext.tt  : monospace
  184. #mathtext.it  : serif:italic
  185. #mathtext.bf  : serif:bold
  186. #mathtext.sf  : sans
  187. #mathtext.fontset : cm # Should be 'cm' (Computer Modern), 'stix',
  188.                        # 'stixsans' or 'custom'
  189. #mathtext.fallback_to_cm : True  # When True, use symbols from the Computer Modern
  190.                                  # fonts when a symbol can not be found in one of
  191.                                  # the custom math fonts.
  192.  
  193. ### AXES
  194. # default face and edge color, default tick sizes,
  195. # default fontsizes for ticklabels, and so on.  See
  196. # http://matplotlib.sourceforge.net/matplotlib.axes.html#Axes
  197. #axes.hold           : True    # whether to clear the axes by default on
  198. #axes.facecolor      : white   # axes background color
  199. #axes.edgecolor      : black   # axes edge color
  200. #axes.linewidth      : 1.0     # edge linewidth
  201. #axes.grid           : False   # display grid or not
  202. axes.grid           : True   # display grid or not
  203. #axes.titlesize      : large   # fontsize of the axes title
  204. #axes.labelsize      : medium  # fontsize of the x any y labels
  205. #axes.labelcolor     : black
  206. #axes.axisbelow      : False   # whether axis gridlines and ticks are below
  207.                               # the axes elements (lines, text, etc)
  208. #axes.formatter.limits : -7, 7 # use scientific notation if log10
  209.                                # of the axis range is smaller than the
  210.                                # first or larger than the second
  211. #axes.unicode_minus  : True    # use unicode for the minus symbol
  212.                                # rather than hypen.  See http://en.wikipedia.org/wiki/Plus_sign#Plus_sign
  213. axes.linewidth      : 2.0     # edge linewidth
  214. axes.labelsize      : 18  # fontsize of the x any y labels
  215.  
  216. #polaraxes.grid      : True    # display grid on polar axes
  217.  
  218. ### TICKS
  219. # see http://matplotlib.sourceforge.net/matplotlib.axis.html#Ticks
  220. #xtick.major.size     : 4      # major tick size in points
  221. #xtick.minor.size     : 2      # minor tick size in points
  222. #xtick.major.pad      : 4      # distance to major tick label in points
  223. #xtick.minor.pad      : 4      # distance to the minor tick label in points
  224. #xtick.color          : k      # color of the tick labels
  225. #xtick.labelsize      : medium # fontsize of the tick labels
  226. #xtick.direction      : in     # direction: in or out
  227. xtick.labelsize: 16
  228.  
  229. #ytick.major.size     : 4      # major tick size in points
  230. #ytick.minor.size     : 2      # minor tick size in points
  231. #ytick.major.pad      : 4      # distance to major tick label in points
  232. #ytick.minor.pad      : 4      # distance to the minor tick label in points
  233. #ytick.color          : k      # color of the tick labels
  234. #ytick.labelsize      : medium # fontsize of the tick labels
  235. #ytick.direction      : in     # direction: in or out
  236.  
  237. ytick.labelsize: 16
  238.  
  239. ### GRIDS
  240. #grid.color       :   black   # grid color
  241. #grid.linestyle   :   :       # dotted
  242. #grid.linewidth   :   0.5     # in points
  243.  
  244. ### Legend
  245. #legend.fancybox      : False  # if True, use a rounded box for the
  246.                                # legend, else a rectangle
  247. #legend.isaxes        : True
  248. #legend.numpoints     : 2      # the number of points in the legend line
  249. #legend.fontsize      : large
  250. #legend.pad           : 0.0    # deprecated; the fractional whitespace inside the legend border
  251. #legend.borderpad     : 0.5    # border whitspace in fontsize units
  252. #legend.markerscale   : 1.0    # the relative size of legend markers vs. original
  253. # the following dimensions are in axes coords
  254. #legend.labelspacing     : 0.010  # the vertical space between the legend entries
  255. #legend.handlelen     : 0.05   # the length of the legend lines
  256. #legend.handletextsep : 0.02   # the space between the legend line and legend text
  257. #legend.axespad       : 0.02   # the border between the axes and legend edge
  258. #legend.shadow        : False
  259. legend.loc            : best
  260. legend.fontsize       : 16
  261. #legend.borderpad             : 0.2
  262.  
  263. ### FIGURE
  264. # See http://matplotlib.sourceforge.net/matplotlib.figure.html#Figure
  265. #figure.figsize   : 8, 6    # figure size in inches
  266. #figure.dpi       : 80      # figure dots per inch
  267. #figure.facecolor : 0.75    # figure facecolor; 0.75 is scalar gray
  268. #figure.edgecolor : white   # figure edgecolor
  269. figure.dpi       : 150      # figure dots per inch
  270.  
  271. # The figure subplot parameters.  All dimensions are fraction of the
  272. # figure width or height
  273. #figure.subplot.left    : 0.125  # the left side of the subplots of the figure
  274. #figure.subplot.right   : 0.9    # the right side of the subplots of the figure
  275. #figure.subplot.bottom  : 0.1    # the bottom of the subplots of the figure
  276. #figure.subplot.top     : 0.9    # the top of the subplots of the figure
  277. #figure.subplot.wspace  : 0.2    # the amount of width reserved for blank space between subplots
  278. #figure.subplot.hspace  : 0.2    # the amount of height reserved for white space between subplots
  279.  
  280.  
  281. ### IMAGES
  282. #image.aspect : equal             # equal | auto | a number
  283. #image.interpolation  : bilinear  # see help(imshow) for options
  284. #image.cmap   : jet               # gray | jet etc...
  285. #image.lut    : 256               # the size of the colormap lookup table
  286. #image.origin : upper             # lower | upper
  287. #image.resample  : False
  288.  
  289. ### CONTOUR PLOTS
  290. #contour.negative_linestyle :  dashed # dashed | solid
  291.  
  292. ### Agg rendering
  293. ### Warning: experimental, 2008/10/10
  294. #agg.path.chunksize : 0           # 0 to disable; values in the range
  295.                                   # 10000 to 100000 can improve speed slightly
  296.                                   # and prevent an Agg rendering failure
  297.                                   # when plotting very large data sets,
  298.                                   # especially if they are very gappy.
  299.                                   # It may cause minor artifacts, though.
  300.                                   # A value of 20000 is probably a good
  301.                                   # starting point.
  302. ### SAVING FIGURES
  303. #path.simplify : False  # When True, simplify paths in vector backends, such as PDF, PS and SVG
  304.  
  305. # the default savefig params can be different from the display params
  306. # Eg, you may want a higher resolution, or to make the figure
  307. # background white
  308. #savefig.dpi       : 100      # figure dots per inch
  309. savefig.dpi       : 150      # figure dots per inch
  310. #savefig.facecolor : white    # figure facecolor when saving
  311. #savefig.edgecolor : white    # figure edgecolor when saving
  312.  
  313. #cairo.format      : png      # png, ps, pdf, svg
  314.  
  315. # tk backend params
  316. #tk.window_focus   : False    # Maintain shell focus for TkAgg
  317. #tk.pythoninspect  : False    # tk sets PYTHONINSEPCT
  318.  
  319. # ps backend params
  320. #ps.papersize      : letter   # auto, letter, legal, ledger, A0-A10, B0-B10
  321. #ps.useafm         : False    # use of afm fonts, results in small files
  322. #ps.usedistiller   : False    # can be: None, ghostscript or xpdf
  323.                                           # Experimental: may produce smaller files.
  324.                                           # xpdf intended for production of publication quality files,
  325.                                           # but requires ghostscript, xpdf and ps2eps
  326. #ps.distiller.res  : 6000      # dpi
  327. #ps.fonttype       : 3         # Output Type 3 (Type3) or Type 42 (TrueType)
  328.  
  329. # pdf backend params
  330. #pdf.compression   : 6 # integer from 0 to 9
  331.                        # 0 disables compression (good for debugging)
  332. #pdf.fonttype       : 3         # Output Type 3 (Type3) or Type 42 (TrueType)
  333.  
  334. # svg backend params
  335. #svg.image_inline : True       # write raster image data directly into the svg file
  336. #svg.image_noscale : False     # suppress scaling of raster data embedded in SVG
  337. #svg.embed_char_paths : True       # embed character outlines in the SVG file
  338.  
  339. # docstring params
  340. #docstring.hardcopy = False  # set this when you want to generate hardcopy docstring
  341.  
  342. # Set the verbose flags.  This controls how much information
  343. # matplotlib gives you at runtime and where it goes.  The verbosity
  344. # levels are: silent, helpful, debug, debug-annoying.  Any level is
  345. # inclusive of all the levels below it.  If your setting is "debug",
  346. # you'll get all the debug and helpful messages.  When submitting
  347. # problems to the mailing-list, please set verbose to "helpful" or "debug"
  348. # and paste the output into your report.
  349. #
  350. # The "fileo" gives the destination for any calls to verbose.report.
  351. # These objects can a filename, or a filehandle like sys.stdout.
  352. #
  353. # You can override the rc default verbosity from the command line by
  354. # giving the flags --verbose-LEVEL where LEVEL is one of the legal
  355. # levels, eg --verbose-helpful.
  356. #
  357. # You can access the verbose instance in your code
  358. #   from matplotlib import verbose.
  359. #verbose.level  : silent      # one of silent, helpful, debug, debug-annoying
  360. #verbose.fileo  : sys.stdout  # a log filename, sys.stdout or sys.stderr

Raw Paste


Login or Register to edit or fork this paste. It's free.