Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f7c0a0

Browse files
committed
Add a catalogue to matplotlibrc.template file.
1 parent f47cc5d commit 7f7c0a0

1 file changed

Lines changed: 59 additions & 9 deletions

File tree

matplotlibrc.template

Lines changed: 59 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,37 @@
2727
## - a hex string, such as ff00ff
2828
## - a scalar grayscale intensity such as 0.75
2929
## - a legal html color name, e.g., red, blue, darkslategray
30+
##
31+
## Configurations are currently divided into following parts:
32+
## - BACKENDS
33+
## - LINES
34+
## - PATCHES
35+
## - HATCHES
36+
## - BOXPLOT
37+
## - FONT
38+
## - TEXT
39+
## - LaTeX
40+
## - AXES
41+
## - DATES
42+
## - TICKS
43+
## - GRIDS
44+
## - LEGEND
45+
## - FIGURE
46+
## - IMAGES
47+
## - CONTOUR PLOTS
48+
## - ERRORBAR PLOTS
49+
## - HISTOGRAM PLOTS
50+
## - SCATTER PLOTS
51+
## - AGG RENDERING
52+
## - PATHS
53+
## - SAVING FIGURES
54+
## - INTERACTIVE KEYMAPS
55+
## - ANIMATION
3056

3157
##### CONFIGURATION BEGINS HERE
3258

59+
60+
#### BACKENDS
3361
## The default backend. If you omit this parameter, the first
3462
## working backend from the following list is used:
3563
## MacOSX Qt5Agg Qt4Agg Gtk3Agg TkAgg WxAgg Agg
@@ -55,7 +83,7 @@
5583
## When True, open the webbrowser to the plot that is shown
5684
#webagg.open_in_browser : True
5785

58-
## if you are running pyplot inside a GUI and your backend choice
86+
## If you are running pyplot inside a GUI and your backend choice
5987
## conflicts, we will automatically try to find a compatible one for
6088
## you if backend_fallback is True
6189
#backend_fallback: True
@@ -94,6 +122,7 @@
94122

95123
#markers.fillstyle: full ## full|left|right|bottom|top|none
96124

125+
97126
#### PATCHES
98127
## Patches are graphical objects that fill 2D space, like polygons or circles.
99128
## See https://matplotlib.org/api/artist_api.html#module-matplotlib.patches
@@ -104,11 +133,13 @@
104133
#patch.force_edgecolor : False ## True to always use edgecolor
105134
#patch.antialiased : True ## render patches in antialiased (no jaggies)
106135

136+
107137
#### HATCHES
108138
#hatch.color : black
109139
#hatch.linewidth : 1.0
110140

111-
#### Boxplot
141+
142+
#### BOXPLOT
112143
#boxplot.notch : False
113144
#boxplot.vertical : True
114145
#boxplot.whiskers : 1.5
@@ -206,12 +237,14 @@
206237
#font.fantasy : Comic Sans MS, Chicago, Charcoal, ImpactWestern, Humor Sans, xkcd, fantasy
207238
#font.monospace : DejaVu Sans Mono, Bitstream Vera Sans Mono, Computer Modern Typewriter, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
208239

240+
209241
#### TEXT
210242
## The text properties used by `text.Text`.
211243
## See https://matplotlib.org/api/artist_api.html#module-matplotlib.text
212244
## for more information on text properties
213245
#text.color : black
214246

247+
215248
#### LaTeX
216249
## See following links for more information on LaTex properties:
217250
## https://matplotlib.org/tutorials/text/usetex.html
@@ -280,6 +313,7 @@
280313
## the special name "regular" for the same font
281314
## used in regular text.
282315

316+
283317
#### AXES
284318
## Following are default face and edge colors, default tick sizes,
285319
## default fontsizes for ticklabels, and so on. See
@@ -342,6 +376,7 @@
342376
#polaraxes.grid : True ## display grid on polar axes
343377
#axes3d.grid : True ## display grid on 3d axes
344378

379+
345380
#### DATES
346381
## These control the default format strings used in AutoDateFormatter.
347382
## Any valid format datetime format string can be used (see the python
@@ -359,6 +394,7 @@
359394
#date.autoformatter.second : %H:%M:%S
360395
#date.autoformatter.microsecond : %M:%S.%f
361396

397+
362398
#### TICKS
363399
## See https://matplotlib.org/api/axis_api.html#matplotlib.axis.Tick
364400
#xtick.top : False ## draw ticks on the top side
@@ -401,13 +437,15 @@
401437
#ytick.minor.right : True ## draw y axis right minor ticks
402438
#ytick.alignment : center_baseline ## alignment of yticks
403439

440+
404441
#### GRIDS
405442
#grid.color : b0b0b0 ## grid color
406443
#grid.linestyle : - ## solid
407444
#grid.linewidth : 0.8 ## in points
408445
#grid.alpha : 1.0 ## transparency, between 0.0 and 1.0
409446

410-
#### Legend
447+
448+
#### LEGEND
411449
#legend.loc : best
412450
#legend.frameon : True ## if True, draw the legend on a background patch
413451
#legend.framealpha : 0.8 ## legend patch transparency
@@ -430,6 +468,7 @@
430468
#legend.borderaxespad : 0.5 ## the border between the axes and legend edge
431469
#legend.columnspacing : 2.0 ## column separation
432470

471+
433472
#### FIGURE
434473
## See https://matplotlib.org/api/figure_api.html#matplotlib.figure.Figure
435474
#figure.titlesize : large ## size of the figure title (Figure.suptitle())
@@ -464,6 +503,7 @@
464503
#figure.constrained_layout.hspace : 0.02 ## Space between subplot groups. Float representing
465504
#figure.constrained_layout.wspace : 0.02 ## a fraction of the subplot widths being separated.
466505

506+
467507
#### IMAGES
468508
#image.aspect : equal ## equal | auto | a number
469509
#image.interpolation : nearest ## see help(imshow) for options
@@ -476,13 +516,16 @@
476516
## saving a figure as a vector graphics file,
477517
## such as a PDF.
478518

519+
479520
#### CONTOUR PLOTS
480521
#contour.negative_linestyle : dashed ## string or on-off ink sequence
481522
#contour.corner_mask : True ## True | False | legacy
482523

524+
483525
#### ERRORBAR PLOTS
484526
#errorbar.capsize : 0 ## length of end cap on error bars in pixels
485527

528+
486529
#### HISTOGRAM PLOTS
487530
#hist.bins : 10 ## The default number of histogram bins.
488531
## If Numpy 1.11 or later is
@@ -492,8 +535,9 @@
492535
#scatter.marker : o ## The default marker type for scatter plots.
493536
#scatter.edgecolors : face ## The default edgecolors for scatter plots.
494537

495-
#### Agg rendering
496-
#### Warning: experimental, 2008/10/10
538+
539+
#### AGG RENDERING
540+
## Warning: experimental, 2008/10/10
497541
#agg.path.chunksize : 0 ## 0 to disable; values in the range
498542
## 10000 to 100000 can improve speed slightly
499543
## and prevent an Agg rendering failure
@@ -502,6 +546,8 @@
502546
## It may cause minor artifacts, though.
503547
## A value of 20000 is probably a good
504548
## starting point.
549+
550+
505551
#### PATHS
506552
#path.simplify : True ## When True, simplify paths by removing "invisible"
507553
## points to reduce file size and increase rendering
@@ -521,8 +567,9 @@
521567
## the length is randomly scaled.
522568
#path.effects : [] ##
523569

570+
524571
#### SAVING FIGURES
525-
## the default savefig params can be different from the display params
572+
## The default savefig params can be different from the display params
526573
## e.g., you may want a higher resolution, or to make the figure
527574
## background white
528575
#savefig.dpi : figure ## figure dots per inch or 'figure'
@@ -555,14 +602,14 @@
555602
#ps.distiller.res : 6000 ## dpi
556603
#ps.fonttype : 3 ## Output Type 3 (Type3) or Type 42 (TrueType)
557604

558-
### pdf backend params
605+
### PDF backend params
559606
#pdf.compression : 6 ## integer from 0 to 9
560607
## 0 disables compression (good for debugging)
561608
#pdf.fonttype : 3 ## Output Type 3 (Type3) or Type 42 (TrueType)
562609
#pdf.use14corefonts : False
563610
#pdf.inheritcolor : False
564611

565-
### svg backend params
612+
### SVG backend params
566613
#svg.image_inline : True ## write raster image data directly into the svg file
567614
#svg.fonttype : path ## How to handle SVG fonts:
568615
## none: Assume fonts are installed on the machine where the SVG will be viewed.
@@ -578,6 +625,8 @@
578625
### docstring params
579626
##docstring.hardcopy = False ## set this when you want to generate hardcopy docstring
580627

628+
629+
#### INTERACTIVE KEYMAPS
581630
## Event keys to interact with figures/plots via keyboard.
582631
## See https://matplotlib.org/users/navigation_toolbar.html for more details on
583632
## interactive navigation. Customize these settings according to your needs.
@@ -599,7 +648,8 @@
599648
#keymap.all_axes : a ## enable all axes
600649
#keymap.copy : ctrl+c, cmd+c ## Copy figure to clipboard
601650

602-
###ANIMATION settings
651+
652+
#### ANIMATION
603653
#animation.html : none ## How to display the animation as HTML in
604654
## the IPython notebook. 'html5' uses
605655
## HTML5 video tag; 'jshtml' creates a

0 commit comments

Comments
 (0)