classic.mplstyle 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. ### Classic matplotlib plotting style as of v1.5
  2. ### LINES
  3. # See http://matplotlib.org/api/artist_api.html#module-matplotlib.lines for more
  4. # information on line properties.
  5. lines.linewidth : 1.0 # line width in points
  6. lines.linestyle : - # solid line
  7. lines.color : b # has no affect on plot(); see axes.prop_cycle
  8. lines.marker : None # the default marker
  9. lines.markerfacecolor : auto # the default markerfacecolor
  10. lines.markeredgecolor : auto # the default markeredgecolor
  11. lines.markeredgewidth : 0.5 # the line width around the marker symbol
  12. lines.markersize : 6 # markersize, in points
  13. lines.dash_joinstyle : round # miter|round|bevel
  14. lines.dash_capstyle : butt # butt|round|projecting
  15. lines.solid_joinstyle : round # miter|round|bevel
  16. lines.solid_capstyle : projecting # butt|round|projecting
  17. lines.antialiased : True # render lines in antialiased (no jaggies)
  18. lines.dashed_pattern : 6, 6
  19. lines.dashdot_pattern : 3, 5, 1, 5
  20. lines.dotted_pattern : 1, 3
  21. lines.scale_dashes: False
  22. ### Marker props
  23. markers.fillstyle: full
  24. ### PATCHES
  25. # Patches are graphical objects that fill 2D space, like polygons or
  26. # circles. See
  27. # http://matplotlib.org/api/artist_api.html#module-matplotlib.patches
  28. # information on patch properties
  29. patch.linewidth : 1.0 # edge width in points
  30. patch.facecolor : b
  31. patch.force_edgecolor : True
  32. patch.edgecolor : k
  33. patch.antialiased : True # render patches in antialiased (no jaggies)
  34. hatch.color : k
  35. hatch.linewidth : 1.0
  36. hist.bins : 10
  37. ### FONT
  38. #
  39. # font properties used by text.Text. See
  40. # http://matplotlib.org/api/font_manager_api.html for more
  41. # information on font properties. The 6 font properties used for font
  42. # matching are given below with their default values.
  43. #
  44. # The font.family property has five values: 'serif' (e.g., Times),
  45. # 'sans-serif' (e.g., Helvetica), 'cursive' (e.g., Zapf-Chancery),
  46. # 'fantasy' (e.g., Western), and 'monospace' (e.g., Courier). Each of
  47. # these font families has a default list of font names in decreasing
  48. # order of priority associated with them. When text.usetex is False,
  49. # font.family may also be one or more concrete font names.
  50. #
  51. # The font.style property has three values: normal (or roman), italic
  52. # or oblique. The oblique style will be used for italic, if it is not
  53. # present.
  54. #
  55. # The font.variant property has two values: normal or small-caps. For
  56. # TrueType fonts, which are scalable fonts, small-caps is equivalent
  57. # to using a font size of 'smaller', or about 83% of the current font
  58. # size.
  59. #
  60. # The font.weight property has effectively 13 values: normal, bold,
  61. # bolder, lighter, 100, 200, 300, ..., 900. Normal is the same as
  62. # 400, and bold is 700. bolder and lighter are relative values with
  63. # respect to the current weight.
  64. #
  65. # The font.stretch property has 11 values: ultra-condensed,
  66. # extra-condensed, condensed, semi-condensed, normal, semi-expanded,
  67. # expanded, extra-expanded, ultra-expanded, wider, and narrower. This
  68. # property is not currently implemented.
  69. #
  70. # The font.size property is the default font size for text, given in pts.
  71. # 12pt is the standard value.
  72. #
  73. font.family : sans-serif
  74. font.style : normal
  75. font.variant : normal
  76. font.weight : normal
  77. font.stretch : normal
  78. # note that font.size controls default text sizes. To configure
  79. # special text sizes tick labels, axes, labels, title, etc, see the rc
  80. # settings for axes and ticks. Special text sizes can be defined
  81. # relative to font.size, using the following values: xx-small, x-small,
  82. # small, medium, large, x-large, xx-large, larger, or smaller
  83. font.size : 12.0
  84. font.serif : DejaVu Serif, New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif
  85. font.sans-serif: DejaVu Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
  86. font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand, Script MT, Felipa, cursive
  87. font.fantasy : Comic Sans MS, Chicago, Charcoal, ImpactWestern, Humor Sans, fantasy
  88. font.monospace : DejaVu Sans Mono, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
  89. ### TEXT
  90. # text properties used by text.Text. See
  91. # http://matplotlib.org/api/artist_api.html#module-matplotlib.text for more
  92. # information on text properties
  93. text.color : k
  94. ### LaTeX customizations. See http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex
  95. text.usetex : False # use latex for all text handling. The following fonts
  96. # are supported through the usual rc parameter settings:
  97. # new century schoolbook, bookman, times, palatino,
  98. # zapf chancery, charter, serif, sans-serif, helvetica,
  99. # avant garde, courier, monospace, computer modern roman,
  100. # computer modern sans serif, computer modern typewriter
  101. # If another font is desired which can loaded using the
  102. # LaTeX \usepackage command, please inquire at the
  103. # matplotlib mailing list
  104. text.latex.preamble : # IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES
  105. # AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP
  106. # IF THIS FEATURE DOES NOT DO WHAT YOU EXPECT IT TO.
  107. # preamble is a comma separated list of LaTeX statements
  108. # that are included in the LaTeX document preamble.
  109. # An example:
  110. # text.latex.preamble : \usepackage{bm},\usepackage{euler}
  111. # The following packages are always loaded with usetex, so
  112. # beware of package collisions: color, geometry, graphicx,
  113. # type1cm, textcomp. Adobe Postscript (PSSNFS) font packages
  114. # may also be loaded, depending on your font settings
  115. text.latex.preview : False
  116. text.hinting : auto # May be one of the following:
  117. # 'none': Perform no hinting
  118. # 'auto': Use freetype's autohinter
  119. # 'native': Use the hinting information in the
  120. # font file, if available, and if your
  121. # freetype library supports it
  122. # 'either': Use the native hinting information,
  123. # or the autohinter if none is available.
  124. # For backward compatibility, this value may also be
  125. # True === 'auto' or False === 'none'.
  126. text.hinting_factor : 8 # Specifies the amount of softness for hinting in the
  127. # horizontal direction. A value of 1 will hint to full
  128. # pixels. A value of 2 will hint to half pixels etc.
  129. text.antialiased : True # If True (default), the text will be antialiased.
  130. # This only affects the Agg backend.
  131. # The following settings allow you to select the fonts in math mode.
  132. # They map from a TeX font name to a fontconfig font pattern.
  133. # These settings are only used if mathtext.fontset is 'custom'.
  134. # Note that this "custom" mode is unsupported and may go away in the
  135. # future.
  136. mathtext.cal : cursive
  137. mathtext.rm : serif
  138. mathtext.tt : monospace
  139. mathtext.it : serif:italic
  140. mathtext.bf : serif:bold
  141. mathtext.sf : sans\-serif
  142. mathtext.fontset : cm # Should be 'cm' (Computer Modern), 'stix',
  143. # 'stixsans' or 'custom'
  144. mathtext.fallback_to_cm : True # When True, use symbols from the Computer Modern
  145. # fonts when a symbol can not be found in one of
  146. # the custom math fonts.
  147. mathtext.default : it # The default font to use for math.
  148. # Can be any of the LaTeX font names, including
  149. # the special name "regular" for the same font
  150. # used in regular text.
  151. ### AXES
  152. # default face and edge color, default tick sizes,
  153. # default fontsizes for ticklabels, and so on. See
  154. # http://matplotlib.org/api/axes_api.html#module-matplotlib.axes
  155. axes.facecolor : w # axes background color
  156. axes.edgecolor : k # axes edge color
  157. axes.linewidth : 1.0 # edge linewidth
  158. axes.grid : False # display grid or not
  159. axes.grid.which : major
  160. axes.grid.axis : both
  161. axes.titlesize : large # fontsize of the axes title
  162. axes.titlepad : 5.0 # pad between axes and title in points
  163. axes.titleweight : normal # font weight for axes title
  164. axes.labelsize : medium # fontsize of the x any y labels
  165. axes.labelpad : 5.0 # space between label and axis
  166. axes.labelweight : normal # weight of the x and y labels
  167. axes.labelcolor : k
  168. axes.axisbelow : False # whether axis gridlines and ticks are below
  169. # the axes elements (lines, text, etc)
  170. axes.formatter.limits : -7, 7 # use scientific notation if log10
  171. # of the axis range is smaller than the
  172. # first or larger than the second
  173. axes.formatter.use_locale : False # When True, format tick labels
  174. # according to the user's locale.
  175. # For example, use ',' as a decimal
  176. # separator in the fr_FR locale.
  177. axes.formatter.use_mathtext : False # When True, use mathtext for scientific
  178. # notation.
  179. axes.formatter.useoffset : True # If True, the tick label formatter
  180. # will default to labeling ticks relative
  181. # to an offset when the data range is very
  182. # small compared to the minimum absolute
  183. # value of the data.
  184. axes.formatter.offset_threshold : 2 # When useoffset is True, the offset
  185. # will be used when it can remove
  186. # at least this number of significant
  187. # digits from tick labels.
  188. axes.unicode_minus : True # use unicode for the minus symbol
  189. # rather than hyphen. See
  190. # http://en.wikipedia.org/wiki/Plus_and_minus_signs#Character_codes
  191. axes.prop_cycle : cycler('color', 'bgrcmyk')
  192. # color cycle for plot lines
  193. # as list of string colorspecs:
  194. # single letter, long name, or
  195. # web-style hex
  196. axes.autolimit_mode : round_numbers
  197. axes.xmargin : 0 # x margin. See `axes.Axes.margins`
  198. axes.ymargin : 0 # y margin See `axes.Axes.margins`
  199. axes.spines.bottom : True
  200. axes.spines.left : True
  201. axes.spines.right : True
  202. axes.spines.top : True
  203. polaraxes.grid : True # display grid on polar axes
  204. axes3d.grid : True # display grid on 3d axes
  205. date.autoformatter.year : %Y
  206. date.autoformatter.month : %b %Y
  207. date.autoformatter.day : %b %d %Y
  208. date.autoformatter.hour : %H:%M:%S
  209. date.autoformatter.minute : %H:%M:%S.%f
  210. date.autoformatter.second : %H:%M:%S.%f
  211. date.autoformatter.microsecond : %H:%M:%S.%f
  212. ### TICKS
  213. # see http://matplotlib.org/api/axis_api.html#matplotlib.axis.Tick
  214. xtick.top : True # draw ticks on the top side
  215. xtick.bottom : True # draw ticks on the bottom side
  216. xtick.major.size : 4 # major tick size in points
  217. xtick.minor.size : 2 # minor tick size in points
  218. xtick.minor.visible : False
  219. xtick.major.width : 0.5 # major tick width in points
  220. xtick.minor.width : 0.5 # minor tick width in points
  221. xtick.major.pad : 4 # distance to major tick label in points
  222. xtick.minor.pad : 4 # distance to the minor tick label in points
  223. xtick.color : k # color of the tick labels
  224. xtick.labelsize : medium # fontsize of the tick labels
  225. xtick.direction : in # direction: in, out, or inout
  226. xtick.major.top : True # draw x axis top major ticks
  227. xtick.major.bottom : True # draw x axis bottom major ticks
  228. xtick.minor.top : True # draw x axis top minor ticks
  229. xtick.minor.bottom : True # draw x axis bottom minor ticks
  230. xtick.alignment : center
  231. ytick.left : True # draw ticks on the left side
  232. ytick.right : True # draw ticks on the right side
  233. ytick.major.size : 4 # major tick size in points
  234. ytick.minor.size : 2 # minor tick size in points
  235. ytick.minor.visible : False
  236. ytick.major.width : 0.5 # major tick width in points
  237. ytick.minor.width : 0.5 # minor tick width in points
  238. ytick.major.pad : 4 # distance to major tick label in points
  239. ytick.minor.pad : 4 # distance to the minor tick label in points
  240. ytick.color : k # color of the tick labels
  241. ytick.labelsize : medium # fontsize of the tick labels
  242. ytick.direction : in # direction: in, out, or inout
  243. ytick.major.left : True # draw y axis left major ticks
  244. ytick.major.right : True # draw y axis right major ticks
  245. ytick.minor.left : True # draw y axis left minor ticks
  246. ytick.minor.right : True # draw y axis right minor ticks
  247. ytick.alignment : center
  248. ### GRIDS
  249. grid.color : k # grid color
  250. grid.linestyle : : # dotted
  251. grid.linewidth : 0.5 # in points
  252. grid.alpha : 1.0 # transparency, between 0.0 and 1.0
  253. ### Legend
  254. legend.fancybox : False # if True, use a rounded box for the
  255. # legend, else a rectangle
  256. legend.loc : upper right
  257. legend.numpoints : 2 # the number of points in the legend line
  258. legend.fontsize : large
  259. legend.borderpad : 0.4 # border whitespace in fontsize units
  260. legend.markerscale : 1.0 # the relative size of legend markers vs. original
  261. # the following dimensions are in axes coords
  262. legend.labelspacing : 0.5 # the vertical space between the legend entries in fraction of fontsize
  263. legend.handlelength : 2. # the length of the legend lines in fraction of fontsize
  264. legend.handleheight : 0.7 # the height of the legend handle in fraction of fontsize
  265. legend.handletextpad : 0.8 # the space between the legend line and legend text in fraction of fontsize
  266. legend.borderaxespad : 0.5 # the border between the axes and legend edge in fraction of fontsize
  267. legend.columnspacing : 2. # the border between the axes and legend edge in fraction of fontsize
  268. legend.shadow : False
  269. legend.frameon : True # whether or not to draw a frame around legend
  270. legend.framealpha : None # opacity of legend frame
  271. legend.scatterpoints : 3 # number of scatter points
  272. legend.facecolor : inherit # legend background color (when 'inherit' uses axes.facecolor)
  273. legend.edgecolor : inherit # legend edge color (when 'inherit' uses axes.edgecolor)
  274. ### FIGURE
  275. # See http://matplotlib.org/api/figure_api.html#matplotlib.figure.Figure
  276. figure.titlesize : medium # size of the figure title
  277. figure.titleweight : normal # weight of the figure title
  278. figure.figsize : 8, 6 # figure size in inches
  279. figure.dpi : 80 # figure dots per inch
  280. figure.facecolor : 0.75 # figure facecolor; 0.75 is scalar gray
  281. figure.edgecolor : w # figure edgecolor
  282. figure.autolayout : False # When True, automatically adjust subplot
  283. # parameters to make the plot fit the figure
  284. figure.frameon : True
  285. # The figure subplot parameters. All dimensions are a fraction of the
  286. # figure width or height
  287. figure.subplot.left : 0.125 # the left side of the subplots of the figure
  288. figure.subplot.right : 0.9 # the right side of the subplots of the figure
  289. figure.subplot.bottom : 0.1 # the bottom of the subplots of the figure
  290. figure.subplot.top : 0.9 # the top of the subplots of the figure
  291. figure.subplot.wspace : 0.2 # the amount of width reserved for space between subplots,
  292. # expressed as a fraction of the average axis width
  293. figure.subplot.hspace : 0.2 # the amount of height reserved for space between subplots,
  294. # expressed as a fraction of the average axis height
  295. ### IMAGES
  296. image.aspect : equal # equal | auto | a number
  297. image.interpolation : bilinear # see help(imshow) for options
  298. image.cmap : jet # gray | jet etc...
  299. image.lut : 256 # the size of the colormap lookup table
  300. image.origin : upper # lower | upper
  301. image.resample : False
  302. image.composite_image : True
  303. ### CONTOUR PLOTS
  304. contour.negative_linestyle : dashed # dashed | solid
  305. contour.corner_mask : True
  306. # errorbar props
  307. errorbar.capsize: 3
  308. # scatter props
  309. scatter.marker: o
  310. ### Boxplots
  311. boxplot.bootstrap: None
  312. boxplot.boxprops.color: b
  313. boxplot.boxprops.linestyle: -
  314. boxplot.boxprops.linewidth: 1.0
  315. boxplot.capprops.color: k
  316. boxplot.capprops.linestyle: -
  317. boxplot.capprops.linewidth: 1.0
  318. boxplot.flierprops.color: b
  319. boxplot.flierprops.linestyle: none
  320. boxplot.flierprops.linewidth: 1.0
  321. boxplot.flierprops.marker: +
  322. boxplot.flierprops.markeredgecolor: k
  323. boxplot.flierprops.markerfacecolor: auto
  324. boxplot.flierprops.markersize: 6.0
  325. boxplot.meanline: False
  326. boxplot.meanprops.color: r
  327. boxplot.meanprops.linestyle: -
  328. boxplot.meanprops.linewidth: 1.0
  329. boxplot.medianprops.color: r
  330. boxplot.meanprops.marker: s
  331. boxplot.meanprops.markerfacecolor: r
  332. boxplot.meanprops.markeredgecolor: k
  333. boxplot.meanprops.markersize: 6.0
  334. boxplot.medianprops.linestyle: -
  335. boxplot.medianprops.linewidth: 1.0
  336. boxplot.notch: False
  337. boxplot.patchartist: False
  338. boxplot.showbox: True
  339. boxplot.showcaps: True
  340. boxplot.showfliers: True
  341. boxplot.showmeans: False
  342. boxplot.vertical: True
  343. boxplot.whiskerprops.color: b
  344. boxplot.whiskerprops.linestyle: --
  345. boxplot.whiskerprops.linewidth: 1.0
  346. boxplot.whiskers: 1.5
  347. ### Agg rendering
  348. ### Warning: experimental, 2008/10/10
  349. agg.path.chunksize : 0 # 0 to disable; values in the range
  350. # 10000 to 100000 can improve speed slightly
  351. # and prevent an Agg rendering failure
  352. # when plotting very large data sets,
  353. # especially if they are very gappy.
  354. # It may cause minor artifacts, though.
  355. # A value of 20000 is probably a good
  356. # starting point.
  357. ### SAVING FIGURES
  358. path.simplify : True # When True, simplify paths by removing "invisible"
  359. # points to reduce file size and increase rendering
  360. # speed
  361. path.simplify_threshold : 0.1111111111111111
  362. # The threshold of similarity below which
  363. # vertices will be removed in the simplification
  364. # process
  365. path.snap : True # When True, rectilinear axis-aligned paths will be snapped to
  366. # the nearest pixel when certain criteria are met. When False,
  367. # paths will never be snapped.
  368. path.sketch : None # May be none, or a 3-tuple of the form (scale, length,
  369. # randomness).
  370. # *scale* is the amplitude of the wiggle
  371. # perpendicular to the line (in pixels). *length*
  372. # is the length of the wiggle along the line (in
  373. # pixels). *randomness* is the factor by which
  374. # the length is randomly scaled.
  375. # the default savefig params can be different from the display params
  376. # e.g., you may want a higher resolution, or to make the figure
  377. # background white
  378. savefig.dpi : 100 # figure dots per inch
  379. savefig.facecolor : w # figure facecolor when saving
  380. savefig.edgecolor : w # figure edgecolor when saving
  381. savefig.format : png # png, ps, pdf, svg
  382. savefig.bbox : standard # 'tight' or 'standard'.
  383. # 'tight' is incompatible with pipe-based animation
  384. # backends but will workd with temporary file based ones:
  385. # e.g. setting animation.writer to ffmpeg will not work,
  386. # use ffmpeg_file instead
  387. savefig.pad_inches : 0.1 # Padding to be used when bbox is set to 'tight'
  388. savefig.jpeg_quality: 95 # when a jpeg is saved, the default quality parameter.
  389. savefig.transparent : False # setting that controls whether figures are saved with a
  390. # transparent background by default
  391. savefig.orientation : portrait
  392. # ps backend params
  393. ps.papersize : letter # auto, letter, legal, ledger, A0-A10, B0-B10
  394. ps.useafm : False # use of afm fonts, results in small files
  395. ps.usedistiller : False # can be: None, ghostscript or xpdf
  396. # Experimental: may produce smaller files.
  397. # xpdf intended for production of publication quality files,
  398. # but requires ghostscript, xpdf and ps2eps
  399. ps.distiller.res : 6000 # dpi
  400. ps.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)
  401. # pdf backend params
  402. pdf.compression : 6 # integer from 0 to 9
  403. # 0 disables compression (good for debugging)
  404. pdf.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)
  405. pdf.inheritcolor : False
  406. pdf.use14corefonts : False
  407. # pgf backend params
  408. pgf.texsystem : xelatex
  409. pgf.rcfonts : True
  410. pgf.preamble :
  411. # svg backend params
  412. svg.image_inline : True # write raster image data directly into the svg file
  413. svg.fonttype : path # How to handle SVG fonts:
  414. # 'none': Assume fonts are installed on the machine where the SVG will be viewed.
  415. # 'path': Embed characters as paths -- supported by most SVG renderers
  416. # Event keys to interact with figures/plots via keyboard.
  417. # Customize these settings according to your needs.
  418. # Leave the field(s) empty if you don't need a key-map. (i.e., fullscreen : '')
  419. keymap.fullscreen : f, ctrl+f # toggling
  420. keymap.home : h, r, home # home or reset mnemonic
  421. keymap.back : left, c, backspace # forward / backward keys to enable
  422. keymap.forward : right, v # left handed quick navigation
  423. keymap.pan : p # pan mnemonic
  424. keymap.zoom : o # zoom mnemonic
  425. keymap.save : s, ctrl+s # saving current figure
  426. keymap.quit : ctrl+w, cmd+w # close the current figure
  427. keymap.grid : g # switching on/off a grid in current axes
  428. keymap.yscale : l # toggle scaling of y-axes ('log'/'linear')
  429. keymap.xscale : k, L # toggle scaling of x-axes ('log'/'linear')
  430. keymap.all_axes : a # enable all axes
  431. ###ANIMATION settings
  432. animation.writer : ffmpeg # MovieWriter 'backend' to use
  433. animation.codec : mpeg4 # Codec to use for writing movie
  434. animation.bitrate: -1 # Controls size/quality tradeoff for movie.
  435. # -1 implies let utility auto-determine
  436. animation.frame_format: png # Controls frame format used by temp files
  437. animation.ffmpeg_path: ffmpeg # Path to ffmpeg binary. Without full path
  438. # $PATH is searched
  439. animation.ffmpeg_args: # Additional arguments to pass to ffmpeg
  440. animation.avconv_path: avconv # Path to avconv binary. Without full path
  441. # $PATH is searched
  442. animation.avconv_args: # Additional arguments to pass to avconv
  443. animation.convert_path: convert # Path to ImageMagick's convert binary.
  444. # On Windows use the full path since convert
  445. # is also the name of a system tool.
  446. animation.convert_args:
  447. animation.html: none
  448. _internal.classic_mode: True