Skip to content

Commit 7d08d3d

Browse files
Update matplotlibrc.template
1 parent 5cd5b29 commit 7d08d3d

File tree

1 file changed

+51
-49
lines changed

1 file changed

+51
-49
lines changed

matplotlibrc.template

Lines changed: 51 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ backend : $TEMPLATE_BACKEND
4646
## forcing the use of Version 2 API for QString and QVariant.
4747

4848
## The port to use for the web server in the WebAgg backend.
49-
#webagg.port : 8888
49+
#webagg.port : 8988
5050

5151
## The address on which the WebAgg web server should be reachable
5252
#webagg.address : 127.0.0.1
@@ -81,16 +81,16 @@ backend : $TEMPLATE_BACKEND
8181
#lines.marker : None ## the default marker
8282
#lines.markeredgewidth : 1.0 ## the line width around the marker symbol
8383
#lines.markersize : 6 ## markersize, in points
84-
#lines.dash_joinstyle : miter ## miter|round|bevel
84+
#lines.dash_joinstyle : round ## miter|round|bevel
8585
#lines.dash_capstyle : butt ## butt|round|projecting
86-
#lines.solid_joinstyle : miter ## miter|round|bevel
86+
#lines.solid_joinstyle : round ## miter|round|bevel
8787
#lines.solid_capstyle : projecting ## butt|round|projecting
8888
#lines.antialiased : True ## render lines in antialiased (no jaggies)
8989

9090
## The three standard dash patterns. These are scaled by the linewidth.
91-
#lines.dashed_pattern : 2.8, 1.2
92-
#lines.dashdot_pattern : 4.8, 1.2, 0.8, 1.2
93-
#lines.dotted_pattern : 1.1, 1.1
91+
#lines.dashed_pattern : 3.7, 1.6
92+
#lines.dashdot_pattern : 6.4, 1.6, 1, 1.6
93+
#lines.dotted_pattern : 1, 1.65
9494
#lines.scale_dashes : True
9595

9696
#markers.fillstyle: full ## full|left|right|bottom|top|none
@@ -102,7 +102,7 @@ backend : $TEMPLATE_BACKEND
102102
## information on patch properties
103103
#patch.linewidth : 1 ## edge width in points.
104104
#patch.facecolor : C0
105-
#patch.edgecolor : black ## if forced, or patch is not filled
105+
#patch.edgecolor : k ## if forced, or patch is not filled
106106
#patch.force_edgecolor : False ## True to always use edgecolor
107107
#patch.antialiased : True ## render patches in antialiased (no jaggies)
108108

@@ -151,7 +151,7 @@ backend : $TEMPLATE_BACKEND
151151
#boxplot.meanprops.markerfacecolor : C2
152152
#boxplot.meanprops.markeredgecolor : C2
153153
#boxplot.meanprops.markersize : 6
154-
#boxplot.meanprops.linestyle : none
154+
#boxplot.meanprops.linestyle : --
155155
#boxplot.meanprops.linewidth : 1.0
156156

157157

@@ -194,25 +194,25 @@ backend : $TEMPLATE_BACKEND
194194
#font.family : sans-serif
195195
#font.style : normal
196196
#font.variant : normal
197-
#font.weight : medium
197+
#font.weight : normal
198198
#font.stretch : normal
199199
## note that font.size controls default text sizes. To configure
200200
## special text sizes tick labels, axes, labels, title, etc, see the rc
201201
## settings for axes and ticks. Special text sizes can be defined
202202
## relative to font.size, using the following values: xx-small, x-small,
203203
## small, medium, large, x-large, xx-large, larger, or smaller
204204
#font.size : 10.0
205-
#font.serif : DejaVu 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
206-
#font.sans-serif : DejaVu Sans, Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
205+
#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
206+
#font.sans-serif : DejaVu Sans, Bitstream Vera Sans, Computer Modern Sans Serif, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
207207
#font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand, Script MT, Felipa, cursive
208-
#font.fantasy : Comic Sans MS, Chicago, Charcoal, Impact, Western, Humor Sans, xkcd, fantasy
209-
#font.monospace : DejaVu Sans Mono, Bitstream Vera Sans Mono, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
208+
#font.fantasy : Comic Sans MS, Chicago, Charcoal, ImpactWestern, Humor Sans, xkcd, fantasy
209+
#font.monospace : DejaVu Sans Mono, Bitstream Vera Sans Mono, Computer Modern Typewriter, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
210210

211211
#### TEXT
212212
## text properties used by text.Text. See
213213
## http://matplotlib.org/api/artist_api.html#module-matplotlib.text for more
214214
## information on text properties
215-
#text.color : black
215+
#text.color : k
216216

217217
#### LaTeX customizations. See http://wiki.scipy.org/Cookbook/Matplotlib/UsingTex
218218
#text.usetex : False ## use latex for all text handling. The following fonts
@@ -226,7 +226,7 @@ backend : $TEMPLATE_BACKEND
226226
## matplotlib mailing list
227227
#text.latex.unicode : False ## use "ucs" and "inputenc" LaTeX packages for handling
228228
## unicode strings.
229-
#text.latex.preamble : ## IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES
229+
#text.latex.preamble : ## IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES
230230
## AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP
231231
## IF THIS FEATURE DOES NOT DO WHAT YOU EXPECT IT TO.
232232
## preamble is a comma separated list of LaTeX statements
@@ -240,12 +240,12 @@ backend : $TEMPLATE_BACKEND
240240
#text.latex.preview : False
241241

242242
#text.hinting : auto ## May be one of the following:
243-
## 'none': Perform no hinting
244-
## 'auto': Use FreeType's autohinter
245-
## 'native': Use the hinting information in the
243+
## none: Perform no hinting
244+
## auto: Use FreeType's autohinter
245+
## native: Use the hinting information in the
246246
# font file, if available, and if your
247247
# FreeType library supports it
248-
## 'either': Use the native hinting information,
248+
## either: Use the native hinting information,
249249
# or the autohinter if none is available.
250250
## For backward compatibility, this value may also be
251251
## True === 'auto' or False === 'none'.
@@ -261,10 +261,10 @@ backend : $TEMPLATE_BACKEND
261261
## Note that this "custom" mode is unsupported and may go away in the
262262
## future.
263263
#mathtext.cal : cursive
264-
#mathtext.rm : serif
264+
#mathtext.rm : sans
265265
#mathtext.tt : monospace
266-
#mathtext.it : serif:italic
267-
#mathtext.bf : serif:bold
266+
#mathtext.it : sans:italic
267+
#mathtext.bf : sans:bold
268268
#mathtext.sf : sans
269269
#mathtext.fontset : dejavusans ## Should be 'dejavusans' (default),
270270
## 'dejavuserif', 'cm' (Computer Modern), 'stix',
@@ -281,8 +281,8 @@ backend : $TEMPLATE_BACKEND
281281
## default face and edge color, default tick sizes,
282282
## default fontsizes for ticklabels, and so on. See
283283
## http://matplotlib.org/api/axes_api.html#module-matplotlib.axes
284-
#axes.facecolor : white ## axes background color
285-
#axes.edgecolor : black ## axes edge color
284+
#axes.facecolor : w ## axes background color
285+
#axes.edgecolor : k ## axes edge color
286286
#axes.linewidth : 0.8 ## edge linewidth
287287
#axes.grid : False ## display grid or not
288288
#axes.grid.axis : both ## which axis the grid should apply to
@@ -293,7 +293,7 @@ backend : $TEMPLATE_BACKEND
293293
#axes.labelsize : medium ## fontsize of the x any y labels
294294
#axes.labelpad : 4.0 ## space between label and axis
295295
#axes.labelweight : normal ## weight of the x and y labels
296-
#axes.labelcolor : black
296+
#axes.labelcolor : k
297297
#axes.axisbelow : line ## draw axis gridlines and ticks below
298298
## patches (True); above patches but below
299299
## lines ('line'); or above all (False)
@@ -326,6 +326,8 @@ backend : $TEMPLATE_BACKEND
326326
#axes.prop_cycle : cycler('color', ['1f77b4', 'ff7f0e', '2ca02c', 'd62728', '9467bd', '8c564b', 'e377c2', '7f7f7f', 'bcbd22', '17becf'])
327327
## color cycle for plot lines as list of string
328328
## colorspecs: single letter, long name, or web-style hex
329+
## Note the use of string escapes here ('1f77b4', instead of 1f77b4)
330+
## as opposed to the rest of this file.
329331
#axes.autolimit_mode : data ## How to scale axes limits to the data.
330332
## Use "data" to use data limits, plus some margin
331333
## Use "round_number" move to the nearest "round" number
@@ -427,8 +429,8 @@ backend : $TEMPLATE_BACKEND
427429
#figure.titleweight : normal ## weight of the figure title
428430
#figure.figsize : 6.4, 4.8 ## figure size in inches
429431
#figure.dpi : 100 ## figure dots per inch
430-
#figure.facecolor : white ## figure facecolor; 0.75 is scalar gray
431-
#figure.edgecolor : white ## figure edgecolor
432+
#figure.facecolor : w ## figure facecolor; 0.75 is scalar gray
433+
#figure.edgecolor : w ## figure edgecolor
432434
#figure.frameon : True ## enable figure frame
433435
#figure.max_open_warning : 20 ## The maximum number of figures to open through
434436
## the pyplot interface before emitting a warning.
@@ -496,9 +498,9 @@ backend : $TEMPLATE_BACKEND
496498
#path.simplify : True ## When True, simplify paths by removing "invisible"
497499
## points to reduce file size and increase rendering
498500
## speed
499-
#path.simplify_threshold : 0.1 ## The threshold of similarity below which
500-
## vertices will be removed in the simplification
501-
## process
501+
#path.simplify_threshold : 0.111111111111 ## The threshold of similarity below which
502+
## vertices will be removed in the
503+
## simplification process
502504
#path.snap : True ## When True, rectilinear axis-aligned paths will be snapped to
503505
## the nearest pixel when certain criteria are met. When False,
504506
## paths will never be snapped.
@@ -509,15 +511,15 @@ backend : $TEMPLATE_BACKEND
509511
## is the length of the wiggle along the line (in
510512
## pixels). *randomness* is the factor by which
511513
## the length is randomly scaled.
512-
#path.effects : [] #
514+
#path.effects : [] ##
513515

514516
#### SAVING FIGURES
515517
## the default savefig params can be different from the display params
516518
## e.g., you may want a higher resolution, or to make the figure
517519
## background white
518520
#savefig.dpi : figure ## figure dots per inch or 'figure'
519-
#savefig.facecolor : white ## figure facecolor when saving
520-
#savefig.edgecolor : white ## figure edgecolor when saving
521+
#savefig.facecolor : w ## figure facecolor when saving
522+
#savefig.edgecolor : w ## figure edgecolor when saving
521523
#savefig.format : png ## png, ps, pdf, svg
522524
#savefig.bbox : standard ## 'tight' or 'standard'.
523525
## 'tight' is incompatible with pipe-based animation
@@ -556,15 +558,15 @@ backend : $TEMPLATE_BACKEND
556558
### svg backend params
557559
#svg.image_inline : True ## write raster image data directly into the svg file
558560
#svg.fonttype : path ## How to handle SVG fonts:
559-
## 'none': Assume fonts are installed on the machine where the SVG will be viewed.
560-
## 'path': Embed characters as paths -- supported by most SVG renderers
561-
## 'svgfont': Embed characters as SVG fonts -- supported only by Chrome,
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,
562564
## Opera and Safari
563565
#svg.hashsalt : None ## if not None, use this string as hash salt
564566
## instead of uuid4
565567
### pgf parameter
566568
#pgf.rcfonts : True
567-
#pgf.preamble : []
569+
#pgf.preamble :
568570
#pgf.texsystem : xelatex
569571
#pgf.debug : False
570572

@@ -580,17 +582,17 @@ backend : $TEMPLATE_BACKEND
580582
#keymap.forward : right, v ## left handed quick navigation
581583
#keymap.pan : p ## pan mnemonic
582584
#keymap.zoom : o ## zoom mnemonic
583-
#keymap.save : s ## saving current figure
584-
#keymap.quit : ctrl+w, cmd+w ## close the current figure
585-
#keymap.quit_all : 'W', 'cmd+W', 'Q' ## close all figures
585+
#keymap.save : s, ctrl+s ## saving current figure
586+
#keymap.quit : ctrl+w, cmd+w, q ## close the current figure
587+
#keymap.quit_all : W, cmd+W, Q ## close all figures
586588
#keymap.grid : g ## switching on/off major grids in current axes
587589
#keymap.grid_minor : G ## switching on/off minor grids in current axes
588590
#keymap.yscale : l ## toggle scaling of y-axes ('log'/'linear')
589-
#keymap.xscale : L, k ## toggle scaling of x-axes ('log'/'linear')
591+
#keymap.xscale : k, L ## toggle scaling of x-axes ('log'/'linear')
590592
#keymap.all_axes : a ## enable all axes
591593

592594
## Control location of examples data files
593-
#examples.directory : '' ## directory to look in for custom installation
595+
#examples.directory : ## directory to look in for custom installation
594596

595597
###ANIMATION settings
596598
#animation.html : none ## How to display the animation as HTML in
@@ -602,15 +604,15 @@ backend : $TEMPLATE_BACKEND
602604
#animation.bitrate: -1 ## Controls size/quality tradeoff for movie.
603605
## -1 implies let utility auto-determine
604606
#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+
#animation.html_args: ## Additional arguments to pass to html writer
608+
#animation.ffmpeg_path: ffmpeg ## Path to ffmpeg binary. Without full path
607609
## $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+
#animation.ffmpeg_args: ## Additional arguments to pass to ffmpeg
611+
#animation.avconv_path: avconv ## Path to avconv binary. Without full path
610612
## $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+
#animation.avconv_args: ## Additional arguments to pass to avconv
614+
#animation.convert_path: convert ## Path to ImageMagick's convert binary.
613615
## On Windows use the full path since convert
614616
## is also the name of a system tool.
615-
#animation.convert_args: '' ## Additional arguments to pass to convert
617+
#animation.convert_args: ## Additional arguments to pass to convert
616618
#animation.embed_limit : 20.0

0 commit comments

Comments
 (0)