|
| 1 | +#### MATPLOTLIBRC FORMAT |
| 2 | +# This is a sample matplotlib configuration file |
| 3 | +# It should be placed in your home dir (Linux and friends) or |
| 4 | +# in the matplotlib data path, is, where matplotlib installs it's |
| 5 | +# data files (fonts, etc). On windows, this would be, for example, |
| 6 | +# C:\Python23\share\matplotlib |
| 7 | +# |
| 8 | +# This file is best viewed in a editor which supports python mode |
| 9 | +# syntax highlighting |
| 10 | +# |
| 11 | +# Blank lines, or lines starting with a comment symbol, are ignored, |
| 12 | +# as are trailing comments. Other lines must have the format |
| 13 | +# |
| 14 | +# key : val # optional comment |
| 15 | +# |
| 16 | +# Colors: for the color values below, you can either use |
| 17 | +# - a matplotlib color string, such as r, k, or b |
| 18 | +# - an rgb tuple, such as (1.0, 0.5, 0.0) |
| 19 | +# - a hex string, such as ff00ff (no '#' symbol) |
| 20 | +# - a scalarar grayscale intensity such as 0.75 |
| 21 | + |
| 22 | +#### CONFIGURATION BEGINS HERE |
| 23 | +backend : GTK # the default backend |
| 24 | +numerix : numeric # Numeric or numarray |
| 25 | +interactive : False # see http://matplotlib.sourceforge.net/interactive.html |
| 26 | + |
| 27 | +### LINES |
| 28 | +# See http://matplotlib.sourceforge.net/matplotlib.lines.html for more |
| 29 | +# information on line properties. Note antialiased rendering looks |
| 30 | +# better, but can be slower. If you want fast antialiased rendering, |
| 31 | +# use the agg backend (or TkAgg, or GTKAgg) |
| 32 | +lines.linewidth : 0.5 # the line width in points |
| 33 | +lines.linestyle : - # solid line |
| 34 | +lines.color : b # blue; color format or hex string |
| 35 | +lines.markersize : 6 # markersize, in points |
| 36 | +lines.antialiased : True # render lines in antialised (no jaggies) |
| 37 | + |
| 38 | +### TEXT |
| 39 | +# text properties used by text.Text. See |
| 40 | +# http://matplotlib.sourceforge.net/matplotlib.Text.html for more |
| 41 | +# information on text properties |
| 42 | +text.fontname : Times # the default font name |
| 43 | +text.fontsize : 10 # the default size used by axes.text |
| 44 | +text.color : k # black |
| 45 | + |
| 46 | +### AXES |
| 47 | +# default face and edge color, default tick sizes, |
| 48 | +# default fontsizes for ticklabels, and so on |
| 49 | +axes.facecolor : w # background color; white |
| 50 | +axes.edgecolor : k # edge color; black |
| 51 | +axes.linewidth : 1.0 # edge linewidth |
| 52 | +axes.grid : False # display grid or not |
| 53 | +axes.titlesize : 14 # fontsize of the axes title |
| 54 | +axes.labelsize : 12 # fontsize of the x any y labels |
| 55 | +axes.labelcolor : k # black |
| 56 | + |
| 57 | +### TICKS |
| 58 | +tick.size : 4 # tick size in points |
| 59 | +tick.color : k # color of the tick labels |
| 60 | +tick.labelsize : 10 # fontsize of the tick labels |
| 61 | + |
| 62 | +### FIGURE |
| 63 | +figure.figsize : 8, 6 # figure size in inches |
| 64 | +figure.dpi : 80 # figure dots per inch |
| 65 | +figure.facecolor : 0.75 # figure facecolor; 0.75 is scalar gray |
| 66 | +figure.edgecolor : w # figure edgecolor; w is white |
| 67 | + |
| 68 | +### SAVING FIGURES |
| 69 | +# the default savefig params can be different for the GUI backends. |
| 70 | +# Eg, you may want a higher resolution, or to make the figure |
| 71 | +# background white |
| 72 | +savefig.dpi : 100 # figure dots per inch |
| 73 | +savefig.facecolor : w # figure facecolor; 0.75 is scalar gray |
| 74 | +savefig.edgecolor : w # figure edgecolor; w is white |
| 75 | + |
| 76 | + |
| 77 | + |
0 commit comments