Menu

[r249]: / trunk / htdocs / .matplotlibrc  Maximize  Restore  History

Download this file

125 lines (114 with data), 5.7 kB

#### MATPLOTLIBRC FORMAT 
# This is a sample matplotlib configuration file
# It should be placed in your home dir (Linux and friends) or
# in the matplotlib data path, is, where matplotlib installs it's
# data files (fonts, etc).  On windows, this would be, for example,
# C:\Python23\share\matplotlib
#
# This file is best viewed in a editor which supports python mode
# syntax highlighting
#
# Blank lines, or lines starting with a comment symbol, are ignored,
# as are trailing comments.  Other lines must have the format
#
#   key : val   # optional comment
#
# Colors: for the color values below, you can either use 
#  - a matplotlib color string, such as r, k, or b
#  - an rgb tuple, such as (1.0, 0.5, 0.0)
#  - a hex string, such as ff00ff  (no '#' symbol)
#  - a scalar grayscale intensity such as 0.75

#### CONFIGURATION BEGINS HERE
backend      : GTK       # the default backend
numerix      : Numeric   # Numeric or numarray
interactive  : False     # see http://matplotlib.sourceforge.net/interactive.html

### LINES
# See http://matplotlib.sourceforge.net/matplotlib.lines.html for more
# information on line properties.  Note antialiased rendering looks
# better, but can be slower.  If you want fast antialiased rendering,
# use the agg backend (or TkAgg, or GTKAgg)
lines.linewidth   : 0.5     # line width in points
lines.linestyle   : -       # solid line
lines.color       : b       # blue; color format or hex string
lines.markersize  : 6       # markersize, in points
lines.antialiased : True    # render lines in antialised (no jaggies)
lines.data_clipping : False # Use data clipping in addition to viewport
                            # clipping.  Useful if you plot long data
                            # sets with only a fraction in the viewport

### FONT
# font properties used by text.Text.  see
# http://matplotlib.sourceforge.net/matplotlib.Font.html for more information
# on font properties.  The 6 font properties used for font matching are given
# below with their default values.
#
# The font.family property has five values: 'serif' (e.g. Times),
# 'sans-serif'  (e.g. Helvetica), 'cursive' (e.g. Zapf-Chancery), 'fantasy'
# (e.g. Western), and 'monospace' (e.g. Courier).  Each of these font families
# has a default list of font names in decreasing order of priority associated
# with them.
# 
# The font.style property has three values: normal (or roman), italic or
# oblique.  The oblique style will be used for italic, if it is not present.
#
# The font.variant property has two values: normal or small-caps.  For TrueType
# fonts, which are scalable fonts, small-caps is equivalent to using a font
# size of 'smaller', or about 83% of the current font size.
#
# The font.weight property has effectively 13 values: normal, bold, bolder,
# lighter, 100, 200, 300, ..., 900.  Normal is the same as 400, and bold is
# 700.  bolder and lighter are relative values with respect to the current
# weight.
#
# The font.stretch property has 11 values: ultra-condensed, extra-condensed,
# condensed, semi-condensed, normal, semi-expanded, expanded, extra-expanded,
# ultra-expanded, wider, and narrower.  This property is not currently
# implemented.
#
# The font.size property has 11 values: xx-small, x-small, small, medium,
# large, x-large, xx-large, larger, smaller, length (such as 12pt), and 
# percentage.  larger and smaller are relative values.  percentage is not yet
# implemented.
#
font.family         : sans-serif
font.style          : normal
font.variant        : normal
font.weight         : medium
font.stretch        : normal
font.size           : medium
font.serif          : New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Bitstream Vera Serif, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif
font.sans-serif     : Lucida Grande, Verdana, Geneva, Lucida, Bitstream Vera Sans, Arial, Helvetica, sans-serif
font.cursive        : Apple Chancery, Textile, Zapf Chancery, Sand, cursive
font.fantasy        : Comic Sans MS, Chicago, Charcoal, Impact, Western, fantasy
font.monospace      : Andale Mono, Bitstream Vera Sans Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace


### TEXT
# text properties used by text.Text.  See
# http://matplotlib.sourceforge.net/matplotlib.Text.html for more
# information on text properties
text.color          : k       # black

### AXES
# default face and edge color, default tick sizes,
# default fontsizes for ticklabels, and so on
axes.facecolor      : w       # background color; white
axes.edgecolor      : k       # edge color; black
axes.linewidth      : 1.0     # edge linewidth
axes.grid           : False   # display grid or not
axes.titlesize      : 14      # fontsize of the axes title
axes.labelsize      : 12      # fontsize of the x any y labels
axes.labelcolor     : k       # black 

### TICKS
tick.major.size     : 4      # tick size in points
tick.color          : k      # color of the tick labels 
tick.labelsize      : 10     # fontsize of the tick labels

### FIGURE
figure.figsize   : 8, 6    # figure size in inches
figure.dpi       : 80      # figure dots per inch
figure.facecolor : 0.75    # figure facecolor; 0.75 is scalar gray
figure.edgecolor : w       # figure edgecolor; w is white

### SAVING FIGURES
# the default savefig params can be different for the GUI backends.
# Eg, you may want a higher resolution, or to make the figure
# background white
savefig.dpi       : 100      # figure dots per inch
savefig.facecolor : w        # figure facecolor; 0.75 is scalar gray
savefig.edgecolor : w        # figure edgecolor; w is white

tk.window_focus   : False    # Maintain shell focus for TkAgg
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.