Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

matplotlibrc 23 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
  1. ### MATPLOTLIBRC FORMAT
  2. # This is a sample matplotlib configuration file - you can find a copy
  3. # of it on your system in
  4. # site-packages/matplotlib/mpl-data/matplotlibrc. If you edit it
  5. # there, please note that it will be overwritten in your next install.
  6. # If you want to keep a permanent local copy that will not be
  7. # overwritten, place it in HOME/.matplotlib/matplotlibrc (unix/linux
  8. # like systems) and C:\Documents and Settings\yourname\.matplotlib
  9. # (win32 systems).
  10. #
  11. # This file is best viewed in a editor which supports python mode
  12. # syntax highlighting. Blank lines, or lines starting with a comment
  13. # symbol, are ignored, as are trailing comments. Other lines must
  14. # have the format
  15. # key : val # optional comment
  16. #
  17. # Colors: for the color values below, you can either use - a
  18. # matplotlib color string, such as r, k, or b - an rgb tuple, such as
  19. # (1.0, 0.5, 0.0) - a hex string, such as ff00ff or #ff00ff - a scalar
  20. # grayscale intensity such as 0.75 - a legal html color name, eg red,
  21. # blue, darkslategray
  22. #### CONFIGURATION BEGINS HERE
  23. # the default backend; one of GTK GTKAgg GTKCairo GTK3Agg GTK3Cairo
  24. # CocoaAgg FltkAgg MacOSX QtAgg Qt4Agg TkAgg WX WXAgg Agg Cairo GDK PS
  25. # PDF SVG Template
  26. # You can also deploy your own backend outside of matplotlib by
  27. # referring to the module name (which must be in the PYTHONPATH) as
  28. # 'module://my_backend'
  29. backend : TkAgg
  30. # If you are using the Qt4Agg backend, you can choose here
  31. # to use the PyQt4 bindings or the newer PySide bindings to
  32. # the underlying Qt4 toolkit.
  33. #backend.qt4 : PyQt4 # PyQt4 | PySide
  34. # Note that this can be overridden by the environment variable
  35. # QT_API used by Enthought Tool Suite (ETS); valid values are
  36. # "pyqt" and "pyside". The "pyqt" setting has the side effect of
  37. # forcing the use of Version 2 API for QString and QVariant.
  38. # if you are running pyplot inside a GUI and your backend choice
  39. # conflicts, we will automatically try to find a compatible one for
  40. # you if backend_fallback is True
  41. #backend_fallback: True
  42. #interactive : False
  43. #toolbar : toolbar2 # None | toolbar2 ("classic" is deprecated)
  44. #timezone : UTC # a pytz timezone string, eg US/Central or Europe/Paris
  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. ### LINES
  49. # See http://matplotlib.org/api/artist_api.html#module-matplotlib.lines for more
  50. # information on line properties.
  51. lines.linewidth : 2.0 # line width in points
  52. #lines.linestyle : - # solid line
  53. #lines.color : blue # has no affect on plot(); see axes.color_cycle
  54. #lines.marker : None # the default marker
  55. #lines.markeredgewidth : 0.5 # the line width around the marker symbol
  56. #lines.markersize : 6 # markersize, in points
  57. #lines.dash_joinstyle : miter # miter|round|bevel
  58. #lines.dash_capstyle : butt # butt|round|projecting
  59. #lines.solid_joinstyle : miter # miter|round|bevel
  60. #lines.solid_capstyle : projecting # butt|round|projecting
  61. #lines.antialiased : True # render lines in antialised (no jaggies)
  62. ### PATCHES
  63. # Patches are graphical objects that fill 2D space, like polygons or
  64. # circles. See
  65. # http://matplotlib.org/api/artist_api.html#module-matplotlib.patches
  66. # information on patch properties
  67. patch.linewidth : 0.5 # edge width in points
  68. patch.facecolor : blue
  69. patch.edgecolor : eeeeee
  70. patch.antialiased : True
  71. ### FONT
  72. #
  73. # font properties used by text.Text. See
  74. # http://matplotlib.org/api/font_manager_api.html for more
  75. # information on font properties. The 6 font properties used for font
  76. # matching are given below with their default values.
  77. #
  78. # The font.family property has five values: 'serif' (e.g. Times),
  79. # 'sans-serif' (e.g. Helvetica), 'cursive' (e.g. Zapf-Chancery),
  80. # 'fantasy' (e.g. Western), and 'monospace' (e.g. Courier). Each of
  81. # these font families has a default list of font names in decreasing
  82. # order of priority associated with them.
  83. #
  84. # The font.style property has three values: normal (or roman), italic
  85. # or oblique. The oblique style will be used for italic, if it is not
  86. # present.
  87. #
  88. # The font.variant property has two values: normal or small-caps. For
  89. # TrueType fonts, which are scalable fonts, small-caps is equivalent
  90. # to using a font size of 'smaller', or about 83% of the current font
  91. # size.
  92. #
  93. # The font.weight property has effectively 13 values: normal, bold,
  94. # bolder, lighter, 100, 200, 300, ..., 900. Normal is the same as
  95. # 400, and bold is 700. bolder and lighter are relative values with
  96. # respect to the current weight.
  97. #
  98. # The font.stretch property has 11 values: ultra-condensed,
  99. # extra-condensed, condensed, semi-condensed, normal, semi-expanded,
  100. # expanded, extra-expanded, ultra-expanded, wider, and narrower. This
  101. # property is not currently implemented.
  102. #
  103. # The font.size property is the default font size for text, given in pts.
  104. # 12pt is the standard value.
  105. #
  106. #font.family : monospace
  107. #font.style : normal
  108. #font.variant : normal
  109. #font.weight : medium
  110. #font.stretch : normal
  111. # note that font.size controls default text sizes. To configure
  112. # special text sizes tick labels, axes, labels, title, etc, see the rc
  113. # settings for axes and ticks. Special text sizes can be defined
  114. # relative to font.size, using the following values: xx-small, x-small,
  115. # small, medium, large, x-large, xx-large, larger, or smaller
  116. #font.size : 12.0
  117. #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
  118. #font.sans-serif : Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
  119. #font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand, cursive
  120. #font.fantasy : Comic Sans MS, Chicago, Charcoal, Impact, Western, fantasy
  121. #font.monospace : Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
  122. ### TEXT
  123. # text properties used by text.Text. See
  124. # http://matplotlib.org/api/artist_api.html#module-matplotlib.text for more
  125. # information on text properties
  126. #text.color : black
  127. ### LaTeX customizations. See http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex
  128. #text.usetex : False # use latex for all text handling. The following fonts
  129. # are supported through the usual rc parameter settings:
  130. # new century schoolbook, bookman, times, palatino,
  131. # zapf chancery, charter, serif, sans-serif, helvetica,
  132. # avant garde, courier, monospace, computer modern roman,
  133. # computer modern sans serif, computer modern typewriter
  134. # If another font is desired which can loaded using the
  135. # LaTeX \usepackage command, please inquire at the
  136. # matplotlib mailing list
  137. #text.latex.unicode : False # use "ucs" and "inputenc" LaTeX packages for handling
  138. # unicode strings.
  139. #text.latex.preamble : # IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES
  140. # AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP
  141. # IF THIS FEATURE DOES NOT DO WHAT YOU EXPECT IT TO.
  142. # preamble is a comma separated list of LaTeX statements
  143. # that are included in the LaTeX document preamble.
  144. # An example:
  145. # text.latex.preamble : \usepackage{bm},\usepackage{euler}
  146. # The following packages are always loaded with usetex, so
  147. # beware of package collisions: color, geometry, graphicx,
  148. # type1cm, textcomp. Adobe Postscript (PSSNFS) font packages
  149. # may also be loaded, depending on your font settings
  150. #text.dvipnghack : None # some versions of dvipng don't handle alpha
  151. # channel properly. Use True to correct
  152. # and flush ~/.matplotlib/tex.cache
  153. # before testing and False to force
  154. # correction off. None will try and
  155. # guess based on your dvipng version
  156. #text.hinting : 'auto' # May be one of the following:
  157. # 'none': Perform no hinting
  158. # 'auto': Use freetype's autohinter
  159. # 'native': Use the hinting information in the
  160. # font file, if available, and if your
  161. # freetype library supports it
  162. # 'either': Use the native hinting information,
  163. # or the autohinter if none is available.
  164. # For backward compatibility, this value may also be
  165. # True === 'auto' or False === 'none'.
  166. text.hinting_factor : 8 # Specifies the amount of softness for hinting in the
  167. # horizontal direction. A value of 1 will hint to full
  168. # pixels. A value of 2 will hint to half pixels etc.
  169. #text.antialiased : True # If True (default), the text will be antialiased.
  170. # This only affects the Agg backend.
  171. # The following settings allow you to select the fonts in math mode.
  172. # They map from a TeX font name to a fontconfig font pattern.
  173. # These settings are only used if mathtext.fontset is 'custom'.
  174. # Note that this "custom" mode is unsupported and may go away in the
  175. # future.
  176. #mathtext.cal : cursive
  177. #mathtext.rm : serif
  178. #mathtext.tt : monospace
  179. #mathtext.it : serif:italic
  180. #mathtext.bf : serif:bold
  181. #mathtext.sf : sans
  182. mathtext.fontset : cm # Should be 'cm' (Computer Modern), 'stix',
  183. # 'stixsans' or 'custom'
  184. #mathtext.fallback_to_cm : True # When True, use symbols from the Computer Modern
  185. # fonts when a symbol can not be found in one of
  186. # the custom math fonts.
  187. #mathtext.default : it # The default font to use for math.
  188. # Can be any of the LaTeX font names, including
  189. # the special name "regular" for the same font
  190. # used in regular text.
  191. ### AXES
  192. # default face and edge color, default tick sizes,
  193. # default fontsizes for ticklabels, and so on. See
  194. # http://matplotlib.org/api/axes_api.html#module-matplotlib.axes
  195. #axes.hold : True # whether to clear the axes by default on
  196. axes.facecolor : eeeeee # axes background color
  197. axes.edgecolor : bcbcbc # axes edge color
  198. #axes.linewidth : 1.0 # edge linewidth
  199. axes.grid : True # display grid or not
  200. axes.titlesize : x-large # fontsize of the axes title
  201. axes.labelsize : large # fontsize of the x any y labels
  202. #axes.labelweight : normal # weight of the x and y labels
  203. #axes.labelcolor : black
  204. #axes.axisbelow : False # whether axis gridlines and ticks are below
  205. # the axes elements (lines, text, etc)
  206. #axes.formatter.limits : -7, 7 # use scientific notation if log10
  207. # of the axis range is smaller than the
  208. # first or larger than the second
  209. #axes.formatter.use_locale : False # When True, format tick labels
  210. # according to the user's locale.
  211. # For example, use ',' as a decimal
  212. # separator in the fr_FR locale.
  213. #axes.formatter.use_mathtext : False # When True, use mathtext for scientific
  214. # notation.
  215. #axes.unicode_minus : True # use unicode for the minus symbol
  216. # rather than hyphen. See
  217. # http://en.wikipedia.org/wiki/Plus_and_minus_signs#Character_codes
  218. axes.color_cycle : 348ABD, A60628, 7A68A6, 467821,D55E00, CC79A7, 56B4E9, 009E73, F0E442, 0072B2 # color cycle for plot lines
  219. # as list of string colorspecs:
  220. # single letter, long name, or
  221. # web-style hex
  222. #polaraxes.grid : True # display grid on polar axes
  223. #axes3d.grid : True # display grid on 3d axes
  224. ### TICKS
  225. # see http://matplotlib.org/api/axis_api.html#matplotlib.axis.Tick
  226. #xtick.major.size : 4 # major tick size in points
  227. #xtick.minor.size : 2 # minor tick size in points
  228. #xtick.major.width : 0.5 # major tick width in points
  229. #xtick.minor.width : 0.5 # minor tick width in points
  230. #xtick.major.pad : 4 # distance to major tick label in points
  231. #xtick.minor.pad : 4 # distance to the minor tick label in points
  232. #xtick.color : k # color of the tick labels
  233. #xtick.labelsize : medium # fontsize of the tick labels
  234. #xtick.direction : in # direction: in, out, or inout
  235. #ytick.major.size : 4 # major tick size in points
  236. #ytick.minor.size : 2 # minor tick size in points
  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. ### GRIDS
  245. #grid.color : black # grid color
  246. #grid.linestyle : : # dotted
  247. #grid.linewidth : 0.5 # in points
  248. #grid.alpha : 1.0 # transparency, between 0.0 and 1.0
  249. ### Legend
  250. legend.fancybox : True # if True, use a rounded box for the
  251. # legend, else a rectangle
  252. #legend.isaxes : True
  253. #legend.numpoints : 2 # the number of points in the legend line
  254. #legend.fontsize : large
  255. #legend.pad : 0.0 # deprecated; the fractional whitespace inside the legend border
  256. #legend.borderpad : 0.5 # border whitespace in fontsize units
  257. #legend.markerscale : 1.0 # the relative size of legend markers vs. original
  258. # the following dimensions are in axes coords
  259. #legend.labelsep : 0.010 # deprecated; the vertical space between the legend entries
  260. #legend.labelspacing : 0.5 # the vertical space between the legend entries in fraction of fontsize
  261. #legend.handlelen : 0.05 # deprecated; the length of the legend lines
  262. #legend.handlelength : 2. # the length of the legend lines in fraction of fontsize
  263. #legend.handleheight : 0.7 # the height of the legend handle in fraction of fontsize
  264. #legend.handletextsep : 0.02 # deprecated; the space between the legend line and legend text
  265. #legend.handletextpad : 0.8 # the space between the legend line and legend text in fraction of fontsize
  266. #legend.axespad : 0.02 # deprecated; the border between the axes and legend edge
  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. ### FIGURE
  272. # See http://matplotlib.org/api/figure_api.html#matplotlib.figure.Figure
  273. figure.figsize : 11, 8 # figure size in inches
  274. figure.dpi : 100 # figure dots per inch
  275. #figure.facecolor : 0.75 # figure facecolor; 0.75 is scalar gray
  276. #figure.edgecolor : white # figure edgecolor
  277. #figure.autolayout : False # When True, automatically adjust subplot
  278. # parameters to make the plot fit the figure
  279. # The figure subplot parameters. All dimensions are a fraction of the
  280. # figure width or height
  281. #figure.subplot.left : 0.125 # the left side of the subplots of the figure
  282. #figure.subplot.right : 0.9 # the right side of the subplots of the figure
  283. #figure.subplot.bottom : 0.1 # the bottom of the subplots of the figure
  284. #figure.subplot.top : 0.9 # the top of the subplots of the figure
  285. #figure.subplot.wspace : 0.2 # the amount of width reserved for blank space between subplots
  286. #figure.subplot.hspace : 0.2 # the amount of height reserved for white space between subplots
  287. ### IMAGES
  288. #image.aspect : equal # equal | auto | a number
  289. #image.interpolation : bilinear # see help(imshow) for options
  290. #image.cmap : jet # gray | jet etc...
  291. #image.lut : 256 # the size of the colormap lookup table
  292. #image.origin : upper # lower | upper
  293. #image.resample : False
  294. ### CONTOUR PLOTS
  295. #contour.negative_linestyle : dashed # dashed | solid
  296. ### Agg rendering
  297. ### Warning: experimental, 2008/10/10
  298. #agg.path.chunksize : 0 # 0 to disable; values in the range
  299. # 10000 to 100000 can improve speed slightly
  300. # and prevent an Agg rendering failure
  301. # when plotting very large data sets,
  302. # especially if they are very gappy.
  303. # It may cause minor artifacts, though.
  304. # A value of 20000 is probably a good
  305. # starting point.
  306. ### SAVING FIGURES
  307. #path.simplify : True # When True, simplify paths by removing "invisible"
  308. # points to reduce file size and increase rendering
  309. # speed
  310. #path.simplify_threshold : 0.1 # The threshold of similarity below which
  311. # vertices will be removed in the simplification
  312. # process
  313. #path.snap : True # When True, rectilinear axis-aligned paths will be snapped to
  314. # the nearest pixel when certain criteria are met. When False,
  315. # paths will never be snapped.
  316. # the default savefig params can be different from the display params
  317. # Eg, you may want a higher resolution, or to make the figure
  318. # background white
  319. savefig.dpi : 300 # figure dots per inch
  320. #savefig.facecolor : white # figure facecolor when saving
  321. #savefig.edgecolor : white # figure edgecolor when saving
  322. #savefig.format : png # png, ps, pdf, svg
  323. #savefig.bbox : standard # 'tight' or 'standard'.
  324. #savefig.pad_inches : 0.1 # Padding to be used when bbox is set to 'tight'
  325. # tk backend params
  326. #tk.window_focus : False # Maintain shell focus for TkAgg
  327. # ps backend params
  328. #ps.papersize : letter # auto, letter, legal, ledger, A0-A10, B0-B10
  329. #ps.useafm : False # use of afm fonts, results in small files
  330. #ps.usedistiller : False # can be: None, ghostscript or xpdf
  331. # Experimental: may produce smaller files.
  332. # xpdf intended for production of publication quality files,
  333. # but requires ghostscript, xpdf and ps2eps
  334. #ps.distiller.res : 6000 # dpi
  335. #ps.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)
  336. # pdf backend params
  337. #pdf.compression : 6 # integer from 0 to 9
  338. # 0 disables compression (good for debugging)
  339. #pdf.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)
  340. # svg backend params
  341. #svg.image_inline : True # write raster image data directly into the svg file
  342. #svg.image_noscale : False # suppress scaling of raster data embedded in SVG
  343. #svg.fonttype : 'path' # How to handle SVG fonts:
  344. # 'none': Assume fonts are installed on the machine where the SVG will be viewed.
  345. # 'path': Embed characters as paths -- supported by most SVG renderers
  346. # 'svgfont': Embed characters as SVG fonts -- supported only by Chrome,
  347. # Opera and Safari
  348. # docstring params
  349. #docstring.hardcopy = False # set this when you want to generate hardcopy docstring
  350. # Set the verbose flags. This controls how much information
  351. # matplotlib gives you at runtime and where it goes. The verbosity
  352. # levels are: silent, helpful, debug, debug-annoying. Any level is
  353. # inclusive of all the levels below it. If your setting is "debug",
  354. # you'll get all the debug and helpful messages. When submitting
  355. # problems to the mailing-list, please set verbose to "helpful" or "debug"
  356. # and paste the output into your report.
  357. #
  358. # The "fileo" gives the destination for any calls to verbose.report.
  359. # These objects can a filename, or a filehandle like sys.stdout.
  360. #
  361. # You can override the rc default verbosity from the command line by
  362. # giving the flags --verbose-LEVEL where LEVEL is one of the legal
  363. # levels, eg --verbose-helpful.
  364. #
  365. # You can access the verbose instance in your code
  366. # from matplotlib import verbose.
  367. #verbose.level : silent # one of silent, helpful, debug, debug-annoying
  368. #verbose.fileo : sys.stdout # a log filename, sys.stdout or sys.stderr
  369. # Event keys to interact with figures/plots via keyboard.
  370. # Customize these settings according to your needs.
  371. # Leave the field(s) empty if you don't need a key-map. (i.e., fullscreen : '')
  372. #keymap.fullscreen : f # toggling
  373. #keymap.home : h, r, home # home or reset mnemonic
  374. #keymap.back : left, c, backspace # forward / backward keys to enable
  375. #keymap.forward : right, v # left handed quick navigation
  376. #keymap.pan : p # pan mnemonic
  377. #keymap.zoom : o # zoom mnemonic
  378. #keymap.save : s # saving current figure
  379. #keymap.quit : ctrl+w # close the current figure
  380. #keymap.grid : g # switching on/off a grid in current axes
  381. #keymap.yscale : l # toggle scaling of y-axes ('log'/'linear')
  382. #keymap.xscale : L, k # toggle scaling of x-axes ('log'/'linear')
  383. #keymap.all_axes : a # enable all axes
  384. ###ANIMATION settings
  385. #animation.writer : ffmpeg # MovieWriter 'backend' to use
  386. #animation.codec : mp4 # Codec to use for writing movie
  387. #animation.bitrate: -1 # Controls size/quality tradeoff for movie.
  388. # -1 implies let utility auto-determine
  389. #animation.frame_format: 'png' # Controls frame format used by temp files
  390. #animation.ffmpeg_path: 'ffmpeg' # Path to ffmpeg binary. Without full path
  391. # $PATH is searched
  392. #animation.ffmpeg_args: '' # Additional arugments to pass to mencoder
  393. #animation.mencoder_path: 'ffmpeg' # Path to mencoder binary. Without full path
  394. # $PATH is searched
  395. #animation.mencoder_args: '' # Additional arugments to pass to mencoder
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...