classic.mplstyle 24 KB

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