py2ls 0.2.4.9.7__py3-none-any.whl → 0.2.4.9.8__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,616 @@
1
+ #### Nature Journal Matplotlib Template
2
+ # Author: Tim Sit
3
+ ## What is this?
4
+ # This is matplotlib template for producing figures that imitate the plot style and colors
5
+ # found in journals published by Nature Publishing Group.
6
+
7
+ ## Usage
8
+
9
+ # option (1): set all plots to have the same style
10
+ # plt.style.use('nature.mplstyle')
11
+ # option (2): specific usage for one plot:
12
+ # with plt.style.context('nature.mplstyle'):
13
+ # plt.plot([1, 2, 3])
14
+
15
+ # It is recommended to combine this style with the set_bounds function located
16
+ # in the plot_utils folder, which automatically make spine bounds and tick marks more sensible
17
+
18
+ ## REFERENCES
19
+ # Nature Color Palette: https://nanx.me/ggsci/reference/pal_npg.html
20
+ # Note that this is based on the palette found in Nature Reviews Cancer.
21
+
22
+
23
+ ##### CONFIGURATION BEGINS HERE
24
+
25
+ ## The default backend; one of GTK3Agg GTK3Cairo MacOSX Qt4Agg Qt5Agg TkAgg
26
+ ## WX WXAgg Agg Cairo PS PDF SVG Template.
27
+ ## You can also deploy your own backend outside of matplotlib by
28
+ ## referring to the module name (which must be in the PYTHONPATH) as
29
+ ## 'module://my_backend'.
30
+ ##
31
+ ## If you omit this parameter, the backend will be determined by fallback.
32
+ #backend : Agg
33
+
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
+
39
+ ## The port to use for the web server in the WebAgg backend.
40
+ #webagg.port : 8988
41
+
42
+ ## The address on which the WebAgg web server should be reachable
43
+ #webagg.address : 127.0.0.1
44
+
45
+ ## If webagg.port is unavailable, a number of other random ports will
46
+ ## be tried until one that is available is found.
47
+ #webagg.port_retries : 50
48
+
49
+ ## When True, open the webbrowser to the plot that is shown
50
+ #webagg.open_in_browser : True
51
+
52
+ ## if you are running pyplot inside a GUI and your backend choice
53
+ ## conflicts, we will automatically try to find a compatible one for
54
+ ## you if backend_fallback is True
55
+ #backend_fallback: True
56
+
57
+ #interactive : False
58
+ #toolbar : toolbar2 ## None | toolbar2 ("classic" is deprecated)
59
+ #timezone : UTC ## a pytz timezone string, e.g., US/Central or Europe/Paris
60
+
61
+ ## Where your matplotlib data lives if you installed to a non-default
62
+ ## location. This is where the matplotlib fonts, bitmaps, etc reside
63
+ #datapath : /home/jdhunter/mpldata
64
+
65
+
66
+ #### LINES
67
+ ## See http://matplotlib.org/api/artist_api.html#module-matplotlib.lines for more
68
+ ## information on line properties.
69
+ lines.linewidth : 2 ## line width in points
70
+ lines.linestyle : - ## solid line
71
+ #lines.color : C0 ## has no affect on plot(); see axes.prop_cycle
72
+ #lines.marker : None ## the default marker
73
+ lines.markerfacecolor : auto ## the default markerfacecolor
74
+ lines.markeredgecolor : black ## the default markeredgecolor
75
+ lines.markeredgewidth : 1 ## the line width around the marker symbol
76
+ lines.markersize : 7 ## markersize, in points
77
+ #lines.dash_joinstyle : round ## miter|round|bevel
78
+ #lines.dash_capstyle : butt ## butt|round|projecting
79
+ #lines.solid_joinstyle : round ## miter|round|bevel
80
+ #lines.solid_capstyle : projecting ## butt|round|projecting
81
+ #lines.antialiased : True ## render lines in antialiased (no jaggies)
82
+
83
+ ## The three standard dash patterns. These are scaled by the linewidth.
84
+ #lines.dashed_pattern : 3.7, 1.6
85
+ #lines.dashdot_pattern : 6.4, 1.6, 1, 1.6
86
+ #lines.dotted_pattern : 1, 1.65
87
+ #lines.scale_dashes : True
88
+
89
+ #markers.fillstyle: full ## full|left|right|bottom|top|none
90
+
91
+ #### PATCHES
92
+ ## Patches are graphical objects that fill 2D space, like polygons or
93
+ ## circles. See
94
+ ## http://matplotlib.org/api/artist_api.html#module-matplotlib.patches
95
+ ## information on patch properties
96
+ patch.linewidth : 1 ## edge width in points.
97
+ patch.facecolor : 000000
98
+ patch.edgecolor : black ## if forced, or patch is not filled
99
+ patch.force_edgecolor : True ## True to always use edgecolor
100
+ #patch.antialiased : True ## render patches in antialiased (no jaggies)
101
+
102
+ #### HATCHES (lines that surround points)
103
+ hatch.color : black
104
+ hatch.linewidth : 1
105
+
106
+ #### Boxplot
107
+ boxplot.notch : False
108
+ #boxplot.vertical : True
109
+ #boxplot.whiskers : 1.5
110
+ # boxplot.bootstrap : None
111
+ boxplot.patchartist : True
112
+ #boxplot.showmeans : False
113
+ #boxplot.showcaps : True
114
+ #boxplot.showbox : True
115
+ #boxplot.showfliers : True
116
+ #boxplot.meanline : False
117
+
118
+ boxplot.flierprops.color : C0
119
+ boxplot.flierprops.marker : o
120
+ boxplot.flierprops.markerfacecolor : auto
121
+ boxplot.flierprops.markeredgecolor : white
122
+ boxplot.flierprops.markersize : 7
123
+ boxplot.flierprops.linestyle : none
124
+ boxplot.flierprops.linewidth : 1.0
125
+
126
+ boxplot.boxprops.color : 9ae1f9
127
+ boxplot.boxprops.linewidth : 0
128
+ boxplot.boxprops.linestyle : -
129
+
130
+ boxplot.whiskerprops.color : C0
131
+ boxplot.whiskerprops.linewidth : 1.0
132
+ boxplot.whiskerprops.linestyle : -
133
+
134
+ boxplot.capprops.color : C0
135
+ boxplot.capprops.linewidth : 1.0
136
+ boxplot.capprops.linestyle : -
137
+
138
+ boxplot.medianprops.color : 9ae1f9
139
+ boxplot.medianprops.linewidth : 1
140
+ boxplot.medianprops.linestyle : -
141
+
142
+ boxplot.meanprops.color : C1
143
+ boxplot.meanprops.marker : ^
144
+ boxplot.meanprops.markerfacecolor : C1
145
+ boxplot.meanprops.markeredgecolor : C1
146
+ boxplot.meanprops.markersize : 7
147
+ boxplot.meanprops.linestyle : --
148
+ boxplot.meanprops.linewidth : 1.0
149
+
150
+
151
+
152
+ #### FONT
153
+
154
+ ## font properties used by text.Text. See
155
+ ## http://matplotlib.org/api/font_manager_api.html for more
156
+ ## information on font properties. The 6 font properties used for font
157
+ ## matching are given below with their default values.
158
+ ##
159
+ ## The font.family property has five values: 'serif' (e.g., Times),
160
+ ## 'sans-serif' (e.g., Helvetica), 'cursive' (e.g., Zapf-Chancery),
161
+ ## 'fantasy' (e.g., Western), and 'monospace' (e.g., Courier). Each of
162
+ ## these font families has a default list of font names in decreasing
163
+ ## order of priority associated with them. When text.usetex is False,
164
+ ## font.family may also be one or more concrete font names.
165
+ ##
166
+ ## The font.style property has three values: normal (or roman), italic
167
+ ## or oblique. The oblique style will be used for italic, if it is not
168
+ ## present.
169
+ ##
170
+ ## The font.variant property has two values: normal or small-caps. For
171
+ ## TrueType fonts, which are scalable fonts, small-caps is equivalent
172
+ ## to using a font size of 'smaller', or about 83%% of the current font
173
+ ## size.
174
+ ##
175
+ ## The font.weight property has effectively 13 values: normal, bold,
176
+ ## bolder, lighter, 100, 200, 300, ..., 900. Normal is the same as
177
+ ## 400, and bold is 700. bolder and lighter are relative values with
178
+ ## respect to the current weight.
179
+ ##
180
+ ## The font.stretch property has 11 values: ultra-condensed,
181
+ ## extra-condensed, condensed, semi-condensed, normal, semi-expanded,
182
+ ## expanded, extra-expanded, ultra-expanded, wider, and narrower. This
183
+ ## property is not currently implemented.
184
+ ##
185
+ ## The font.size property is the default font size for text, given in pts.
186
+ ## 10 pt is the standard value.
187
+
188
+ font.family : sans-serif
189
+ font.style : normal
190
+ #font.variant : normal
191
+ #font.weight : normal
192
+ #font.stretch : normal
193
+ ## note that font.size controls default text sizes. To configure
194
+ ## special text sizes tick labels, axes, labels, title, etc, see the rc
195
+ ## settings for axes and ticks. Special text sizes can be defined
196
+ ## relative to font.size, using the following values: xx-small, x-small,
197
+ ## small, medium, large, x-large, xx-large, larger, or smaller
198
+ font.size : 10.0
199
+ #font.serif : DejaVu Serif, Bitstream Vera Serif, Computer Modern Roman, New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif
200
+ font.sans-serif : Helvetica, Computer Modern Sans Serif, DejaVu Sans, Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial, Avant Garde, sans-serif
201
+ #font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand, Script MT, Felipa, cursive
202
+ #font.fantasy : Comic Sans MS, Chicago, Charcoal, ImpactWestern, Humor Sans, xkcd, fantasy
203
+ #font.monospace : DejaVu Sans Mono, Bitstream Vera Sans Mono, Computer Modern Typewriter, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
204
+
205
+ #### TEXT
206
+ ## text properties used by text.Text. See
207
+ ## http://matplotlib.org/api/artist_api.html#module-matplotlib.text for more
208
+ ## information on text properties
209
+ text.color : 000000
210
+
211
+ #### LaTeX customizations. See http://wiki.scipy.org/Cookbook/Matplotlib/UsingTex
212
+ text.usetex : True ## use latex for all text handling. The following fonts
213
+ ## are supported through the usual rc parameter settings:
214
+ ## new century schoolbook, bookman, times, palatino,
215
+ ## zapf chancery, charter, serif, sans-serif, helvetica,
216
+ ## avant garde, courier, monospace, computer modern roman,
217
+ ## computer modern sans serif, computer modern typewriter
218
+ ## If another font is desired which can loaded using the
219
+ ## LaTeX \usepackage command, please inquire at the
220
+ ## matplotlib mailing list
221
+ text.latex.preamble : \usepackage{xcolor} ## IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES
222
+ ## AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP
223
+ ## IF THIS FEATURE DOES NOT DO WHAT YOU EXPECT IT TO.
224
+ ## preamble is a comma separated list of LaTeX statements
225
+ ## that are included in the LaTeX document preamble.
226
+ ## An example:
227
+ ## text.latex.preamble : \usepackage{bm},\usepackage{euler}
228
+ ## The following packages are always loaded with usetex, so
229
+ ## beware of package collisions: color, geometry, graphicx,
230
+ ## type1cm, textcomp. Adobe Postscript (PSSNFS) font packages
231
+ ## may also be loaded, depending on your font settings
232
+ #text.latex.preview : False
233
+
234
+ #text.hinting : auto ## May be one of the following:
235
+ ## none: Perform no hinting
236
+ ## auto: Use FreeType's autohinter
237
+ ## native: Use the hinting information in the
238
+ # font file, if available, and if your
239
+ # FreeType library supports it
240
+ ## either: Use the native hinting information,
241
+ # or the autohinter if none is available.
242
+ ## For backward compatibility, this value may also be
243
+ ## True === 'auto' or False === 'none'.
244
+ #text.hinting_factor : 8 ## Specifies the amount of softness for hinting in the
245
+ ## horizontal direction. A value of 1 will hint to full
246
+ ## pixels. A value of 2 will hint to half pixels etc.
247
+ #text.antialiased : True ## If True (default), the text will be antialiased.
248
+ ## This only affects the Agg backend.
249
+
250
+ ## The following settings allow you to select the fonts in math mode.
251
+ ## They map from a TeX font name to a fontconfig font pattern.
252
+ ## These settings are only used if mathtext.fontset is 'custom'.
253
+ ## Note that this "custom" mode is unsupported and may go away in the
254
+ ## future.
255
+ #mathtext.cal : cursive
256
+ #mathtext.rm : sans
257
+ #mathtext.tt : monospace
258
+ #mathtext.it : sans:italic
259
+ #mathtext.bf : sans:bold
260
+ #mathtext.sf : sans
261
+ #mathtext.fontset : dejavusans ## Should be 'dejavusans' (default),
262
+ ## 'dejavuserif', 'cm' (Computer Modern), 'stix',
263
+ ## 'stixsans' or 'custom'
264
+ #mathtext.fallback_to_cm : True ## When True, use symbols from the Computer Modern
265
+ ## fonts when a symbol can not be found in one of
266
+ ## the custom math fonts.
267
+ #mathtext.default : it ## The default font to use for math.
268
+ ## Can be any of the LaTeX font names, including
269
+ ## the special name "regular" for the same font
270
+ ## used in regular text.
271
+
272
+ #### AXES
273
+ ## default face and edge color, default tick sizes,
274
+ ## default fontsizes for ticklabels, and so on. See
275
+ ## http://matplotlib.org/api/axes_api.html#module-matplotlib.axes
276
+ axes.facecolor : white ## axes background color
277
+ axes.edgecolor : 000000 ## axes edge color
278
+ axes.linewidth : 1.2 ## edge linewidth
279
+ axes.grid : False ## display grid or not
280
+ axes.grid.axis : both ## which axis the grid should apply to
281
+ axes.grid.which : major ## gridlines at major, minor or both ticks
282
+ axes.titlesize : 18 ## fontsize of the axes title
283
+ axes.titleweight : normal ## font weight of title
284
+ #axes.titlepad : 6.0 ## pad between axes and title in points
285
+ axes.labelsize : 14 ## fontsize of the x any y labels
286
+ axes.labelpad : 4.0 ## space between label and axis
287
+ #axes.labelweight : normal ## weight of the x and y labels
288
+ axes.labelcolor : 000000
289
+ axes.axisbelow : line ## draw axis gridlines and ticks below
290
+ ## patches (True); above patches but below
291
+ ## lines ('line'); or above all (False)
292
+ #axes.formatter.limits : -7, 7 ## use scientific notation if log10
293
+ ## of the axis range is smaller than the
294
+ ## first or larger than the second
295
+ axes.formatter.use_locale : False ## When True, format tick labels
296
+ ## according to the user's locale.
297
+ ## For example, use ',' as a decimal
298
+ ## separator in the fr_FR locale.
299
+ #axes.formatter.use_mathtext : False ## When True, use mathtext for scientific
300
+ ## notation.
301
+ #axes.formatter.min_exponent: 0 ## minimum exponent to format in scientific notation
302
+ axes.formatter.useoffset : True ## If True, the tick label formatter
303
+ ## will default to labeling ticks relative
304
+ ## to an offset when the data range is
305
+ ## small compared to the minimum absolute
306
+ ## value of the data.
307
+ #axes.formatter.offset_threshold : 4 ## When useoffset is True, the offset
308
+ ## will be used when it can remove
309
+ ## at least this number of significant
310
+ ## digits from tick labels.
311
+ # AXES SPINE
312
+ # TODO: need to limit axis spine to the last tick mark
313
+ # TODO: the above can be done by setting ax.spines['left'].set_bounds(lower_limit, upper_limit),
314
+ # but needs to be some automated way to do this
315
+ axes.spines.left : True ## display axis spines
316
+ axes.spines.bottom : True
317
+ axes.spines.top : False
318
+ axes.spines.right : False
319
+ #axes.unicode_minus : True ## use unicode for the minus symbol
320
+ ## rather than hyphen. See
321
+ ## http://en.wikipedia.org/wiki/Plus_and_minus_signs#Character_codes
322
+ axes.prop_cycle : cycler('color', ['E64B35', '4DBBD5', '00A087', '3C5488', 'F39B7F', '8491B4', '91D1C2FF', 'DC0000', '7E6148', 'B09C85'])
323
+ ## color cycle for plot lines as list of string
324
+ ## colorspecs: single letter, long name, or web-style hex
325
+ ## Note the use of string escapes here ('1f77b4', instead of 1f77b4)
326
+ ## as opposed to the rest of this file.
327
+ axes.autolimit_mode : data ## How to scale axes limits to the data.
328
+ ## Use "data" to use data limits, plus some margin
329
+ ## Use "round_numbers" move to the nearest "round" number
330
+ #axes.xmargin : .05 ## x margin. See `axes.Axes.margins`
331
+ #axes.ymargin : .05 ## y margin See `axes.Axes.margins`
332
+ #polaraxes.grid : True ## display grid on polar axes
333
+ #axes3d.grid : True ## display grid on 3d axes
334
+
335
+ #### DATES
336
+ ## These control the default format strings used in AutoDateFormatter.
337
+ ## Any valid format datetime format string can be used (see the python
338
+ ## `datetime` for details). For example using '%%x' will use the locale date representation
339
+ ## '%%X' will use the locale time representation and '%%c' will use the full locale datetime
340
+ ## representation.
341
+ ## These values map to the scales:
342
+ ## {'year': 365, 'month': 30, 'day': 1, 'hour': 1/24, 'minute': 1 / (24 * 60)}
343
+
344
+ #date.autoformatter.year : %Y
345
+ #date.autoformatter.month : %Y-%m
346
+ #date.autoformatter.day : %Y-%m-%d
347
+ #date.autoformatter.hour : %m-%d %H
348
+ #date.autoformatter.minute : %d %H:%M
349
+ #date.autoformatter.second : %H:%M:%S
350
+ #date.autoformatter.microsecond : %M:%S.%f
351
+
352
+ #### TICKS
353
+ ## see http://matplotlib.org/api/axis_api.html#matplotlib.axis.Tick
354
+ xtick.top : False ## draw ticks on the top side
355
+ xtick.bottom : True ## draw ticks on the bottom side
356
+ xtick.labeltop : False ## draw label on the top
357
+ xtick.labelbottom : True ## draw label on the bottom
358
+ xtick.major.size : 8.25 ## major tick size in points
359
+ xtick.minor.size : 2 ## minor tick size in points
360
+ xtick.major.width : 1.4 ## major tick width in points
361
+ xtick.minor.width : 0.6 ## minor tick width in points
362
+ xtick.major.pad : 3.5 ## distance to major tick label in points
363
+ xtick.minor.pad : 3.4 ## distance to the minor tick label in points
364
+ xtick.color : 000000 ## color of the tick labels
365
+ xtick.labelsize : 12 ## fontsize of the tick labels
366
+ xtick.direction : out ## direction: in, out, or inout
367
+ xtick.minor.visible : False ## visibility of minor ticks on x-axis
368
+ xtick.major.top : False ## draw x axis top major ticks
369
+ xtick.major.bottom : True ## draw x axis bottom major ticks
370
+ xtick.minor.top : False ## draw x axis top minor ticks
371
+ xtick.minor.bottom : False ## draw x axis bottom minor ticks
372
+ xtick.alignment : center ## alignment of xticks
373
+
374
+ ytick.left : True ## draw ticks on the left side
375
+ ytick.right : False ## draw ticks on the right side
376
+ ytick.labelleft : True ## draw tick labels on the left side
377
+ ytick.labelright : False ## draw tick labels on the right side
378
+ ytick.major.size : 8.25 ## major tick size in points
379
+ ytick.minor.size : 2 ## minor tick size in points
380
+ ytick.major.width : 1.4 ## major tick width in points
381
+ ytick.minor.width : 0.6 ## minor tick width in points
382
+ ytick.major.pad : 3.5 ## distance to major tick label in points
383
+ ytick.minor.pad : 3.4 ## distance to the minor tick label in points
384
+ ytick.color : 000000 ## color of the tick labels
385
+ ytick.labelsize : 12 ## fontsize of the tick labels
386
+ ytick.direction : out ## direction: in, out, or inout
387
+ ytick.minor.visible : False ## visibility of minor ticks on y-axis
388
+ ytick.major.left : True ## draw y axis left major ticks
389
+ ytick.major.right : False ## draw y axis right major ticks
390
+ ytick.minor.left : True ## draw y axis left minor ticks
391
+ ytick.minor.right : False ## draw y axis right minor ticks
392
+ ytick.alignment : center_baseline ## alignment of yticks
393
+
394
+ #### GRIDS
395
+ grid.color : 93939c ## grid color
396
+ grid.linestyle : -- ## solid
397
+ grid.linewidth : 0.8 ## in points
398
+ grid.alpha : 0.2 ## transparency, between 0.0 and 1.0
399
+
400
+ #### Legend
401
+ legend.loc : best
402
+ legend.frameon : False ## if True, draw the legend on a background patch
403
+ legend.framealpha : 0.8 ## legend patch transparency
404
+ legend.facecolor : inherit ## inherit from axes.facecolor; or color spec, options: inherit
405
+ legend.edgecolor : 0.8 ## background patch boundary color
406
+ legend.fancybox : False ## if True, use a rounded box for the
407
+ ## legend background, else a rectangle
408
+ legend.shadow : False ## if True, give background a shadow effect
409
+ #legend.numpoints : 1 ## the number of marker points in the legend line
410
+ #legend.scatterpoints : 1 ## number of scatter points
411
+ #legend.markerscale : 1.0 ## the relative size of legend markers vs. original
412
+ #legend.fontsize : medium
413
+ #legend.title_fontsize : None ## None sets to the same as the default axes.
414
+ ## Dimensions as fraction of fontsize:
415
+ legend.borderpad : 0.4 ## border whitespace
416
+ #legend.labelspacing : 0.5 ## the vertical space between the legend entries
417
+ #legend.handlelength : 2.0 ## the length of the legend lines
418
+ #legend.handleheight : 0.7 ## the height of the legend handle
419
+ #legend.handletextpad : 0.8 ## the space between the legend line and legend text
420
+ #legend.borderaxespad : 0.5 ## the border between the axes and legend edge
421
+ #legend.columnspacing : 2.0 ## column separation
422
+
423
+ #### FIGURE
424
+ ## See http://matplotlib.org/api/figure_api.html#matplotlib.figure.Figure
425
+ #figure.titlesize : large ## size of the figure title (Figure.suptitle())
426
+ #figure.titleweight : normal ## weight of the figure title
427
+ #figure.figsize : 6.4, 4.8 ## figure size in inches
428
+ figure.dpi : 300 ## figure dots per inch
429
+ figure.facecolor : white ## figure facecolor
430
+ figure.edgecolor : white ## figure edgecolor
431
+ figure.frameon : False ## enable figure frame
432
+ #figure.max_open_warning : 20 ## The maximum number of figures to open through
433
+ ## the pyplot interface before emitting a warning.
434
+ ## If less than one this feature is disabled.
435
+ ## The figure subplot parameters. All dimensions are a fraction of the
436
+ #figure.subplot.left : 0.125 ## the left side of the subplots of the figure
437
+ #figure.subplot.right : 0.9 ## the right side of the subplots of the figure
438
+ #figure.subplot.bottom : 0.11 ## the bottom of the subplots of the figure
439
+ #figure.subplot.top : 0.88 ## the top of the subplots of the figure
440
+ #figure.subplot.wspace : 0.2 ## the amount of width reserved for space between subplots,
441
+ ## expressed as a fraction of the average axis width
442
+ #figure.subplot.hspace : 0.2 ## the amount of height reserved for space between subplots,
443
+ ## expressed as a fraction of the average axis height
444
+
445
+ ## Figure layout
446
+ #figure.autolayout : False ## When True, automatically adjust subplot
447
+ ## parameters to make the plot fit the figure
448
+ ## using `tight_layout`
449
+ #figure.constrained_layout.use: False ## When True, automatically make plot
450
+ ## elements fit on the figure. (Not compatible
451
+ ## with `autolayout`, above).
452
+ #figure.constrained_layout.h_pad : 0.04167 ## Padding around axes objects. Float representing
453
+ #figure.constrained_layout.w_pad : 0.04167 ## inches. Default is 3./72. inches (3 pts)
454
+ #figure.constrained_layout.hspace : 0.02 ## Space between subplot groups. Float representing
455
+ #figure.constrained_layout.wspace : 0.02 ## a fraction of the subplot widths being separated.
456
+
457
+ #### IMAGES
458
+ #image.aspect : equal ## equal | auto | a number
459
+ #image.interpolation : nearest ## see help(imshow) for options
460
+ #image.cmap : viridis ## A colormap name, gray etc...
461
+ #image.lut : 256 ## the size of the colormap lookup table
462
+ #image.origin : upper ## lower | upper
463
+ #image.resample : True
464
+ #image.composite_image : True ## When True, all the images on a set of axes are
465
+ ## combined into a single composite image before
466
+ ## saving a figure as a vector graphics file,
467
+ ## such as a PDF.
468
+
469
+ #### CONTOUR PLOTS
470
+ #contour.negative_linestyle : dashed ## string or on-off ink sequence
471
+ #contour.corner_mask : True ## True | False | legacy
472
+
473
+ #### ERRORBAR PLOTS
474
+ #errorbar.capsize : 0 ## length of end cap on error bars in pixels
475
+
476
+ #### HISTOGRAM PLOTS
477
+ #hist.bins : 10 ## The default number of histogram bins.
478
+ ## If Numpy 1.11 or later is
479
+ ## installed, may also be `auto`
480
+
481
+ #### SCATTER PLOTS
482
+ scatter.marker : o ## The default marker type for scatter plots.
483
+ scatter.edgecolors : 000000 ## The default edge colors for scatter plots.
484
+ ## Keyword options: 'face'
485
+
486
+
487
+ #### Agg rendering
488
+ #### Warning: experimental, 2008/10/10
489
+ #agg.path.chunksize : 0 ## 0 to disable; values in the range
490
+ ## 10000 to 100000 can improve speed slightly
491
+ ## and prevent an Agg rendering failure
492
+ ## when plotting very large data sets,
493
+ ## especially if they are very gappy.
494
+ ## It may cause minor artifacts, though.
495
+ ## A value of 20000 is probably a good
496
+ ## starting point.
497
+ #### PATHS
498
+ #path.simplify : True ## When True, simplify paths by removing "invisible"
499
+ ## points to reduce file size and increase rendering
500
+ ## speed
501
+ #path.simplify_threshold : 0.111111111111 ## The threshold of similarity below which
502
+ ## vertices will be removed in the
503
+ ## simplification process
504
+ #path.snap : True ## When True, rectilinear axis-aligned paths will be snapped to
505
+ ## the nearest pixel when certain criteria are met. When False,
506
+ ## paths will never be snapped.
507
+ #path.sketch : None ## May be none, or a 3-tuple of the form (scale, length,
508
+ ## randomness).
509
+ ## *scale* is the amplitude of the wiggle
510
+ ## perpendicular to the line (in pixels). *length*
511
+ ## is the length of the wiggle along the line (in
512
+ ## pixels). *randomness* is the factor by which
513
+ ## the length is randomly scaled.
514
+ #path.effects : [] ##
515
+
516
+ #### SAVING FIGURES
517
+ ## the default savefig params can be different from the display params
518
+ ## e.g., you may want a higher resolution, or to make the figure
519
+ ## background white
520
+ #savefig.dpi : figure ## figure dots per inch or 'figure'
521
+ #savefig.facecolor : white ## figure facecolor when saving
522
+ #savefig.edgecolor : white ## figure edgecolor when saving
523
+ #savefig.format : png ## png, ps, pdf, svg
524
+ #savefig.bbox : standard ## 'tight' or 'standard'.
525
+ ## 'tight' is incompatible with pipe-based animation
526
+ ## backends but will workd with temporary file based ones:
527
+ ## e.g. setting animation.writer to ffmpeg will not work,
528
+ ## use ffmpeg_file instead
529
+ #savefig.pad_inches : 0.1 ## Padding to be used when bbox is set to 'tight'
530
+ #savefig.jpeg_quality: 95 ## when a jpeg is saved, the default quality parameter.
531
+ #savefig.directory : ~ ## default directory in savefig dialog box,
532
+ ## leave empty to always use current working directory
533
+ #savefig.transparent : False ## setting that controls whether figures are saved with a
534
+ ## transparent background by default
535
+ #savefig.frameon : True ## enable frame of figure when saving
536
+ #savefig.orientation : portrait ## Orientation of saved figure
537
+
538
+ ### tk backend params
539
+ #tk.window_focus : False ## Maintain shell focus for TkAgg
540
+
541
+ ### ps backend params
542
+ #ps.papersize : letter ## auto, letter, legal, ledger, A0-A10, B0-B10
543
+ #ps.useafm : False ## use of afm fonts, results in small files
544
+ #ps.usedistiller : False ## can be: None, ghostscript or xpdf
545
+ ## Experimental: may produce smaller files.
546
+ ## xpdf intended for production of publication quality files,
547
+ ## but requires ghostscript, xpdf and ps2eps
548
+ #ps.distiller.res : 6000 ## dpi
549
+ #ps.fonttype : 3 ## Output Type 3 (Type3) or Type 42 (TrueType)
550
+
551
+ ### pdf backend params
552
+ #pdf.compression : 6 ## integer from 0 to 9
553
+ ## 0 disables compression (good for debugging)
554
+ #pdf.fonttype : 3 ## Output Type 3 (Type3) or Type 42 (TrueType)
555
+ #pdf.use14corefonts : False
556
+ #pdf.inheritcolor : False
557
+
558
+ ### svg backend params
559
+ #svg.image_inline : True ## write raster image data directly into the svg file
560
+ #svg.fonttype : path ## How to handle SVG fonts:
561
+ ## none: Assume fonts are installed on the machine where the SVG will be viewed.
562
+ ## path: Embed characters as paths -- supported by most SVG renderers
563
+ ## svgfont: Embed characters as SVG fonts -- supported only by Chrome,
564
+ ## Opera and Safari
565
+ #svg.hashsalt : None ## if not None, use this string as hash salt
566
+ ## instead of uuid4
567
+ ### pgf parameter
568
+ #pgf.rcfonts : True
569
+ #pgf.preamble :
570
+ #pgf.texsystem : xelatex
571
+
572
+ ### docstring params
573
+ ##docstring.hardcopy = False ## set this when you want to generate hardcopy docstring
574
+
575
+ ## Event keys to interact with figures/plots via keyboard.
576
+ ## Customize these settings according to your needs.
577
+ ## Leave the field(s) empty if you don't need a key-map. (i.e., fullscreen : '')
578
+ #keymap.fullscreen : f, ctrl+f ## toggling
579
+ #keymap.home : h, r, home ## home or reset mnemonic
580
+ #keymap.back : left, c, backspace ## forward / backward keys to enable
581
+ #keymap.forward : right, v ## left handed quick navigation
582
+ #keymap.pan : p ## pan mnemonic
583
+ #keymap.zoom : o ## zoom mnemonic
584
+ #keymap.save : s, ctrl+s ## saving current figure
585
+ #keymap.help : f1 ## display help about active tools
586
+ #keymap.quit : ctrl+w, cmd+w, q ## close the current figure
587
+ #keymap.quit_all : W, cmd+W, Q ## close all figures
588
+ #keymap.grid : g ## switching on/off major grids in current axes
589
+ #keymap.grid_minor : G ## switching on/off minor grids in current axes
590
+ #keymap.yscale : l ## toggle scaling of y-axes ('log'/'linear')
591
+ #keymap.xscale : k, L ## toggle scaling of x-axes ('log'/'linear')
592
+ #keymap.all_axes : a ## enable all axes
593
+ #keymap.copy : ctrl+c, cmd+c ## Copy figure to clipboard
594
+
595
+ ###ANIMATION settings
596
+ #animation.html : none ## How to display the animation as HTML in
597
+ ## the IPython notebook. 'html5' uses
598
+ ## HTML5 video tag; 'jshtml' creates a
599
+ ## Javascript animation
600
+ #animation.writer : ffmpeg ## MovieWriter 'backend' to use
601
+ #animation.codec : h264 ## Codec to use for writing movie
602
+ #animation.bitrate: -1 ## Controls size/quality tradeoff for movie.
603
+ ## -1 implies let utility auto-determine
604
+ #animation.frame_format: png ## Controls frame format used by temp files
605
+ #animation.html_args: ## Additional arguments to pass to html writer
606
+ #animation.ffmpeg_path: ffmpeg ## Path to ffmpeg binary. Without full path
607
+ ## $PATH is searched
608
+ #animation.ffmpeg_args: ## Additional arguments to pass to ffmpeg
609
+ #animation.avconv_path: avconv ## Path to avconv binary. Without full path
610
+ ## $PATH is searched
611
+ #animation.avconv_args: ## Additional arguments to pass to avconv
612
+ #animation.convert_path: convert ## Path to ImageMagick's convert binary.
613
+ ## On Windows use the full path since convert
614
+ ## is also the name of a system tool.
615
+ #animation.convert_args: ## Additional arguments to pass to convert
616
+ #animation.embed_limit : 20.0