Skip to content

Commit ee13881

Browse files
committed
updated installing docs
svn path=/trunk/matplotlib/; revision=466
1 parent bf8d23a commit ee13881

File tree

4 files changed

+30
-12
lines changed

4 files changed

+30
-12
lines changed

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
New entries should be added at the top
22

3+
2004-08-05 Updated installing.html and INSTALL - JDH
4+
35
2004-08-01 backend_gtk.py: move all drawing code into the expose_event()
46

57
2004-07-28 Added Greg's toolbar2 and backend_*agg patches - JDH

INSTALL

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ INTRODUCTION
66
below. Matplotlib is known to work on linux, unix, win32 and OS X
77
platforms.
88

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+
919
COMPILING
1020

1121
You will need to have recent versions of freetype (>= 2.1.7), libpng
@@ -23,6 +33,11 @@ COMPILING
2333
don't want a particular backend or extension, you can set that flag
2434
to False.
2535

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+
2641
If you have installed prerequisites to nonstandard places and need
2742
to inform matplotlib where they are, edit setupext.py an add the
2843
base dirs to the 'basedir' dictionary entry for your sys.platform.
@@ -108,10 +123,10 @@ PACKAGE MANAGERS: (rpms, apt, fink)
108123
packages at http://mentors.debian.net
109124

110125

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
115130

116131
* then run:
117132
# apt-get update

TODO

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -512,11 +512,12 @@ ZeroDivisionError: SeparableTransformation::eval_scalars yin interval is zero; c
512512

513513
-- update installing.html from INSTALL
514514

515-
-- rubberbanding broken on subplot_demo/gtk
515+
-- DONE rubberbanding broken on subplot_demo/gtk
516516

517-
-- add copy/deepcopy support for transforms
517+
-- PARTIAL - need to copy function type - add copy/deepcopy support
518+
for transforms
518519

519-
-- text looks funky in SVG - stroke width?
520+
-- DONE (added stroke width) text looks funky in SVG - stroke width?
520521

521522
-- blit on gtkagg after print is whacked
522523

examples/pythonic_matplotlib.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
case you will want to control the creation of all your figures,
1818
embedding them in application windows, etc.
1919
20-
If you seen an example in the examples dir written in matlab
21-
interface, and you want to emulate that using the true python method
22-
calls, there is an easy mapping. Many of those examples use 'set' to
23-
control figure properties. Here's how to map those commands onto
24-
instance methods
20+
If you see an example in the examples dir written in matlab interface,
21+
and you want to emulate that using the true python method calls, there
22+
is an easy mapping. Many of those examples use 'set' to control
23+
figure properties. Here's how to map those commands onto instance
24+
methods
2525
2626
The syntax of set is
2727

0 commit comments

Comments
 (0)