classic.mplstyle 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  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.hinting : auto # May be one of the following:
  116. # 'none': Perform no hinting
  117. # 'auto': Use freetype's autohinter
  118. # 'native': Use the hinting information in the
  119. # font file, if available, and if your
  120. # freetype library supports it
  121. # 'either': Use the native hinting information,
  122. # or the autohinter if none is available.
  123. # For backward compatibility, this value may also be
  124. # True === 'auto' or False === 'none'.
  125. text.hinting_factor : 8 # Specifies the amount of softness for hinting in the
  126. # horizontal direction. A value of 1 will hint to full
  127. # pixels. A value of 2 will hint to half pixels etc.
  128. text.antialiased : True # If True (default), the text will be antialiased.
  129. # This only affects the Agg backend.
  130. # The following settings allow you to select the fonts in math mode.
  131. # They map from a TeX font name to a fontconfig font pattern.
  132. # These settings are only used if mathtext.fontset is 'custom'.
  133. # Note that this "custom" mode is unsupported and may go away in the
  134. # future.
  135. mathtext.cal : cursive
  136. mathtext.rm : serif
  137. mathtext.tt : monospace
  138. mathtext.it : serif:italic
  139. mathtext.bf : serif:bold
  140. mathtext.sf : sans\-serif
  141. mathtext.fontset : cm # Should be 'cm' (Computer Modern), 'stix',
  142. # 'stixsans' or 'custom'
  143. mathtext.fallback: cm # Select fallback font from ['cm' (Computer Modern), 'stix'
  144. # 'stixsans'] when a symbol can not be found in one of the
  145. # custom math fonts. Select 'None' to not perform fallback
  146. # and replace the missing character by a dummy.
  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.titley : 1.0 # at the top, no autopositioning.
  163. axes.titlepad : 5.0 # pad between axes and title in points
  164. axes.titleweight : normal # font weight for axes title
  165. axes.labelsize : medium # fontsize of the x any y labels
  166. axes.labelpad : 5.0 # space between label and axis
  167. axes.labelweight : normal # weight of the x and y labels
  168. axes.labelcolor : k
  169. axes.axisbelow : False # whether axis gridlines and ticks are below
  170. # the axes elements (lines, text, etc)
  171. axes.formatter.limits : -7, 7 # use scientific notation if log10
  172. # of the axis range is smaller than the
  173. # first or larger than the second
  174. axes.formatter.use_locale : False # When True, format tick labels
  175. # according to the user's locale.
  176. # For example, use ',' as a decimal
  177. # separator in the fr_FR locale.
  178. axes.formatter.use_mathtext : False # When True, use mathtext for scientific
  179. # notation.
  180. axes.formatter.useoffset : True # If True, the tick label formatter
  181. # will default to labeling ticks relative
  182. # to an offset when the data range is very
  183. # small compared to the minimum absolute
  184. # value of the data.
  185. axes.formatter.offset_threshold : 2 # When useoffset is True, the offset
  186. # will be used when it can remove
  187. # at least this number of significant
  188. # digits from tick labels.
  189. axes.unicode_minus : True # use unicode for the minus symbol
  190. # rather than hyphen. See
  191. # http://en.wikipedia.org/wiki/Plus_and_minus_signs#Character_codes
  192. axes.prop_cycle : cycler('color', 'bgrcmyk')
  193. # color cycle for plot lines
  194. # as list of string colorspecs:
  195. # single letter, long name, or
  196. # web-style hex
  197. axes.autolimit_mode : round_numbers
  198. axes.xmargin : 0 # x margin. See `axes.Axes.margins`
  199. axes.ymargin : 0 # y margin See `axes.Axes.margins`
  200. axes.spines.bottom : True
  201. axes.spines.left : True
  202. axes.spines.right : True
  203. axes.spines.top : True
  204. polaraxes.grid : True # display grid on polar axes
  205. axes3d.grid : True # display grid on 3d axes
  206. date.autoformatter.year : %Y
  207. date.autoformatter.month : %b %Y
  208. date.autoformatter.day : %b %d %Y
  209. date.autoformatter.hour : %H:%M:%S
  210. date.autoformatter.minute : %H:%M:%S.%f
  211. date.autoformatter.second : %H:%M:%S.%f
  212. date.autoformatter.microsecond : %H:%M:%S.%f
  213. ### TICKS
  214. # see http://matplotlib.org/api/axis_api.html#matplotlib.axis.Tick
  215. xtick.top : True # draw ticks on the top side
  216. xtick.bottom : True # draw ticks on the bottom side
  217. xtick.major.size : 4 # major tick size in points
  218. xtick.minor.size : 2 # minor tick size in points
  219. xtick.minor.visible : False
  220. xtick.major.width : 0.5 # major tick width in points
  221. xtick.minor.width : 0.5 # minor tick width 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, out, or inout
  227. xtick.major.top : True # draw x axis top major ticks
  228. xtick.major.bottom : True # draw x axis bottom major ticks
  229. xtick.minor.top : True # draw x axis top minor ticks
  230. xtick.minor.bottom : True # draw x axis bottom minor ticks
  231. xtick.alignment : center
  232. ytick.left : True # draw ticks on the left side
  233. ytick.right : True # draw ticks on the right side
  234. ytick.major.size : 4 # major tick size in points
  235. ytick.minor.size : 2 # minor tick size in points
  236. ytick.minor.visible : False
  237. ytick.major.width : 0.5 # major tick width in points
  238. ytick.minor.width : 0.5 # minor tick width in points
  239. ytick.major.pad : 4 # distance to major tick label in points
  240. ytick.minor.pad : 4 # distance to the minor tick label in points
  241. ytick.color : k # color of the tick labels
  242. ytick.labelsize : medium # fontsize of the tick labels
  243. ytick.direction : in # direction: in, out, or inout
  244. ytick.major.left : True # draw y axis left major ticks
  245. ytick.major.right : True # draw y axis right major ticks
  246. ytick.minor.left : True # draw y axis left minor ticks
  247. ytick.minor.right : True # draw y axis right minor ticks
  248. ytick.alignment : center
  249. ### GRIDS
  250. grid.color : k # grid color
  251. grid.linestyle : : # dotted
  252. grid.linewidth : 0.5 # in points
  253. grid.alpha : 1.0 # transparency, between 0.0 and 1.0
  254. ### Legend
  255. legend.fancybox : False # if True, use a rounded box for the
  256. # legend, else a rectangle
  257. legend.loc : upper right
  258. legend.numpoints : 2 # the number of points in the legend line
  259. legend.fontsize : large
  260. legend.borderpad : 0.4 # border whitespace in fontsize units
  261. legend.markerscale : 1.0 # the relative size of legend markers vs. original
  262. # the following dimensions are in axes coords
  263. legend.labelspacing : 0.5 # the vertical space between the legend entries in fraction of fontsize
  264. legend.handlelength : 2. # the length of the legend lines in fraction of fontsize
  265. legend.handleheight : 0.7 # the height of the legend handle in fraction of fontsize
  266. legend.handletextpad : 0.8 # the space between the legend line and legend text in fraction of fontsize
  267. legend.borderaxespad : 0.5 # the border between the axes and legend edge in fraction of fontsize
  268. legend.columnspacing : 2. # the border between the axes and legend edge in fraction of fontsize
  269. legend.shadow : False
  270. legend.frameon : True # whether or not to draw a frame around legend
  271. legend.framealpha : None # opacity of legend frame
  272. legend.scatterpoints : 3 # number of scatter points
  273. legend.facecolor : inherit # legend background color (when 'inherit' uses axes.facecolor)
  274. legend.edgecolor : inherit # legend edge color (when 'inherit' uses axes.edgecolor)
  275. ### FIGURE
  276. # See http://matplotlib.org/api/figure_api.html#matplotlib.figure.Figure
  277. figure.titlesize : medium # size of the figure title
  278. figure.titleweight : normal # weight of the figure title
  279. figure.figsize : 8, 6 # figure size in inches
  280. figure.dpi : 80 # figure dots per inch
  281. figure.facecolor : 0.75 # figure facecolor; 0.75 is scalar gray
  282. figure.edgecolor : w # figure edgecolor
  283. figure.autolayout : False # When True, automatically adjust subplot
  284. # parameters to make the plot fit the figure
  285. figure.frameon : True
  286. # The figure subplot parameters. All dimensions are a fraction of the
  287. # figure width or height
  288. figure.subplot.left : 0.125 # the left side of the subplots of the figure
  289. figure.subplot.right : 0.9 # the right side of the subplots of the figure
  290. figure.subplot.bottom : 0.1 # the bottom of the subplots of the figure
  291. figure.subplot.top : 0.9 # the top of the subplots of the figure
  292. figure.subplot.wspace : 0.2 # the amount of width reserved for space between subplots,
  293. # expressed as a fraction of the average axis width
  294. figure.subplot.hspace : 0.2 # the amount of height reserved for space between subplots,
  295. # expressed as a fraction of the average axis height
  296. ### IMAGES
  297. image.aspect : equal # equal | auto | a number
  298. image.interpolation : bilinear # see help(imshow) for options
  299. image.cmap : jet # gray | jet etc...
  300. image.lut : 256 # the size of the colormap lookup table
  301. image.origin : upper # lower | upper
  302. image.resample : False
  303. image.composite_image : True
  304. ### CONTOUR PLOTS
  305. contour.negative_linestyle : dashed # dashed | solid
  306. contour.corner_mask : True
  307. # errorbar props
  308. errorbar.capsize: 3
  309. # scatter props
  310. scatter.marker: o
  311. ### Boxplots
  312. boxplot.bootstrap: None
  313. boxplot.boxprops.color: b
  314. boxplot.boxprops.linestyle: -
  315. boxplot.boxprops.linewidth: 1.0
  316. boxplot.capprops.color: k
  317. boxplot.capprops.linestyle: -
  318. boxplot.capprops.linewidth: 1.0
  319. boxplot.flierprops.color: b
  320. boxplot.flierprops.linestyle: none
  321. boxplot.flierprops.linewidth: 1.0
  322. boxplot.flierprops.marker: +
  323. boxplot.flierprops.markeredgecolor: k
  324. boxplot.flierprops.markerfacecolor: auto
  325. boxplot.flierprops.markersize: 6.0
  326. boxplot.meanline: False
  327. boxplot.meanprops.color: r
  328. boxplot.meanprops.linestyle: -
  329. boxplot.meanprops.linewidth: 1.0
  330. boxplot.medianprops.color: r
  331. boxplot.meanprops.marker: s
  332. boxplot.meanprops.markerfacecolor: r
  333. boxplot.meanprops.markeredgecolor: k
  334. boxplot.meanprops.markersize: 6.0
  335. boxplot.medianprops.linestyle: -
  336. boxplot.medianprops.linewidth: 1.0
  337. boxplot.notch: False
  338. boxplot.patchartist: False
  339. boxplot.showbox: True
  340. boxplot.showcaps: True
  341. boxplot.showfliers: True
  342. boxplot.showmeans: False
  343. boxplot.vertical: True
  344. boxplot.whiskerprops.color: b
  345. boxplot.whiskerprops.linestyle: --
  346. boxplot.whiskerprops.linewidth: 1.0
  347. boxplot.whiskers: 1.5
  348. ### Agg rendering
  349. ### Warning: experimental, 2008/10/10
  350. agg.path.chunksize : 0 # 0 to disable; values in the range
  351. # 10000 to 100000 can improve speed slightly
  352. # and prevent an Agg rendering failure
  353. # when plotting very large data sets,
  354. # especially if they are very gappy.
  355. # It may cause minor artifacts, though.
  356. # A value of 20000 is probably a good
  357. # starting point.
  358. ### SAVING FIGURES
  359. path.simplify : True # When True, simplify paths by removing "invisible"
  360. # points to reduce file size and increase rendering
  361. # speed
  362. path.simplify_threshold : 0.1111111111111111
  363. # The threshold of similarity below which
  364. # vertices will be removed in the simplification
  365. # process
  366. path.snap : True # When True, rectilinear axis-aligned paths will be snapped to
  367. # the nearest pixel when certain criteria are met. When False,
  368. # paths will never be snapped.
  369. path.sketch : None # May be none, or a 3-tuple of the form (scale, length,
  370. # randomness).
  371. # *scale* is the amplitude of the wiggle
  372. # perpendicular to the line (in pixels). *length*
  373. # is the length of the wiggle along the line (in
  374. # pixels). *randomness* is the factor by which
  375. # the length is randomly scaled.
  376. # the default savefig params can be different from the display params
  377. # e.g., you may want a higher resolution, or to make the figure
  378. # background white
  379. savefig.dpi : 100 # figure dots per inch
  380. savefig.facecolor : w # figure facecolor when saving
  381. savefig.edgecolor : w # figure edgecolor when saving
  382. savefig.format : png # png, ps, pdf, svg
  383. savefig.bbox : standard # 'tight' or 'standard'.
  384. # 'tight' is incompatible with pipe-based animation
  385. # backends (e.g. 'ffmpeg') but will work with those
  386. # based on temporary files (e.g. 'ffmpeg_file')
  387. savefig.pad_inches : 0.1 # Padding to be used when bbox is set to 'tight'
  388. savefig.transparent : False # setting that controls whether figures are saved with a
  389. # transparent background by default
  390. savefig.orientation : portrait
  391. # ps backend params
  392. ps.papersize : letter # auto, letter, legal, ledger, A0-A10, B0-B10
  393. ps.useafm : False # use of afm fonts, results in small files
  394. ps.usedistiller : False # can be: None, ghostscript or xpdf
  395. # Experimental: may produce smaller files.
  396. # xpdf intended for production of publication quality files,
  397. # but requires ghostscript, xpdf and ps2eps
  398. ps.distiller.res : 6000 # dpi
  399. ps.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)
  400. # pdf backend params
  401. pdf.compression : 6 # integer from 0 to 9
  402. # 0 disables compression (good for debugging)
  403. pdf.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)
  404. pdf.inheritcolor : False
  405. pdf.use14corefonts : False
  406. # pgf backend params
  407. pgf.texsystem : xelatex
  408. pgf.rcfonts : True
  409. pgf.preamble :
  410. # svg backend params
  411. svg.image_inline : True # write raster image data directly into the svg file
  412. svg.fonttype : path # How to handle SVG fonts:
  413. # 'none': Assume fonts are installed on the machine where the SVG will be viewed.
  414. # 'path': Embed characters as paths -- supported by most SVG renderers
  415. # Event keys to interact with figures/plots via keyboard.
  416. # Customize these settings according to your needs.
  417. # Leave the field(s) empty if you don't need a key-map. (i.e., fullscreen : '')
  418. keymap.fullscreen : f, ctrl+f # toggling
  419. keymap.home : h, r, home # home or reset mnemonic
  420. keymap.back : left, c, backspace # forward / backward keys to enable
  421. keymap.forward : right, v # left handed quick navigation
  422. keymap.pan : p # pan mnemonic
  423. keymap.zoom : o # zoom mnemonic
  424. keymap.save : s, ctrl+s # saving current figure
  425. keymap.quit : ctrl+w, cmd+w # close the current figure
  426. keymap.grid : g # switching on/off a grid in current axes
  427. keymap.yscale : l # toggle scaling of y-axes ('log'/'linear')
  428. keymap.xscale : k, L # toggle scaling of x-axes ('log'/'linear')
  429. ###ANIMATION settings
  430. animation.writer : ffmpeg # MovieWriter 'backend' to use
  431. animation.codec : mpeg4 # Codec to use for writing movie
  432. animation.bitrate: -1 # Controls size/quality tradeoff for movie.
  433. # -1 implies let utility auto-determine
  434. animation.frame_format: png # Controls frame format used by temp files
  435. animation.ffmpeg_path: ffmpeg # Path to ffmpeg binary. Without full path
  436. # $PATH is searched
  437. animation.ffmpeg_args: # Additional arguments to pass to ffmpeg
  438. animation.convert_path: convert # Path to ImageMagick's convert binary.
  439. # On Windows use the full path since convert
  440. # is also the name of a system tool.
  441. animation.convert_args:
  442. animation.html: none
  443. _internal.classic_mode: True