@@ -6,6 +6,16 @@ INTRODUCTION
6
6
below. Matplotlib is known to work on linux, unix, win32 and OS X
7
7
platforms.
8
8
9
+ There are two kinds of matplotlib backends: vector based and raster
10
+ based. The vector based backends, SVG and PS, produce ASCII text
11
+ output files *.svg and *.ps. The core raster based renderer is the
12
+ http://antigrain.com (agg) backend. This is a high quality 2D
13
+ library that supports fast antialiasing, alpha blending and much
14
+ more. If you want to produce PNGs or GUI images that support all of
15
+ matplotlib's features, you should compile matplotlib with agg
16
+ support and use one of the GUI agg backends: GTKAgg, WXAgg, TkAgg or
17
+ FLTKAgg.
18
+
9
19
COMPILING
10
20
11
21
You will need to have recent versions of freetype (>= 2.1.7), libpng
@@ -23,6 +33,11 @@ COMPILING
23
33
don't want a particular backend or extension, you can set that flag
24
34
to False.
25
35
36
+ As discussed above, most users will want to set 'BUILD_AGG = 1' and
37
+ one or more of the GUI backends to True. Exceptions to this are if
38
+ you know you don't need a GUI (eg a web server) or you only want to
39
+ produce vector graphics.
40
+
26
41
If you have installed prerequisites to nonstandard places and need
27
42
to inform matplotlib where they are, edit setupext.py an add the
28
43
base dirs to the 'basedir' dictionary entry for your sys.platform.
@@ -108,10 +123,10 @@ PACKAGE MANAGERS: (rpms, apt, fink)
108
123
packages at http://mentors.debian.net
109
124
110
125
111
- * add this lines to your /etc/apt/sources.list: deb
112
- http://mentors.debian.net/debian unstable main contrib
113
- non-free deb-src http://mentors.debian.net/debian unstable
114
- main contrib non-free
126
+ * add these lines to your /etc/apt/sources.list:
127
+
128
+ deb http://mentors.debian.net/debian unstable main contrib non-free
129
+ deb-src http://mentors.debian.net/debian unstable main contrib non-free
115
130
116
131
* then run:
117
132
# apt-get update
0 commit comments