@@ -44,10 +44,29 @@ progress::
44
44
matplotlib requires numpy version 1.1 or later. Although it is not a
45
45
requirement to use matplotlib, we strongly encourage you to install
46
46
`ipython <http://ipython.scipy.org/dist >`_, which is an interactive
47
- shell for python that is matplotlib aware. Once you have ipython,
48
- numpy and matplotlib installed, in ipython's "pylab" mode you have a
49
- matlab-like environment that automatically handles most of the
50
- configuration details for you, so you can get up and running quickly::
47
+ shell for python that is matplotlib aware.
48
+
49
+ Next we need to get matplotlib installed. We provide prebuilt
50
+ binaries for OS X and Windows on the matplotlib `download
51
+ <http://sourceforge.net/projects/matplotlib/files/> `_ page. Click on
52
+ the latest release of the "matplotlib" package, choose your python
53
+ version (2.5 or 2.6) and your platform (macosx or win32) and you
54
+ should be good to go. If you have any problems, please check the
55
+ :ref: `installing-faq `, google around a little bit, and post a question
56
+ the `mailing list
57
+ <http://sourceforge.net/project/showfiles.php?group_id=80706> `_. If
58
+ you are on debian/unbuntu linux, it suffices to do::
59
+
60
+ > sudo apt-get install python-matplotlib
61
+
62
+ Instructions for installing our OSX binaries are found in the FAQ
63
+ :ref: `install_osx_binaries `.
64
+
65
+
66
+ Once you have ipython, numpy and matplotlib installed, in ipython's
67
+ "pylab" mode you have a matlab-like environment that automatically
68
+ handles most of the configuration details for you, so you can get up
69
+ and running quickly::
51
70
52
71
johnh@flag:~> ipython -pylab
53
72
Python 2.4.5 (#4, Apr 12 2008, 09:09:16)
@@ -60,20 +79,6 @@ configuration details for you, so you can get up and running quickly::
60
79
61
80
In [2]: hist(x, 100)
62
81
63
- And a *voila *, a figure pops up. But we are putting the cart ahead of
64
- the horse -- first we need to get matplotlib installed. We provide
65
- prebuilt binaries for OS X and Windows on the matplotlib `download
66
- <http://sourceforge.net/projects/matplotlib/files/> `_ page. Click on
67
- the latest release of the "matplotlib" package, choose your python
68
- version (2.4 or 2.5) and your platform (macosx or win32) and you
69
- should be good to go. If you have any problems, please check the
70
- :ref: `installing-faq `, google around a little bit, and post a question
71
- the `mailing list
72
- <http://sourceforge.net/project/showfiles.php?group_id=80706> `_.
73
-
74
- Instructions for installing our OSX binaries are found in the FAQ
75
- ref:`install_osx_binaries `.
76
-
77
82
Note that when testing matplotlib installations from the interactive
78
83
python console, there are some issues relating to user interface
79
84
toolkits and interactive settings that are discussed in
@@ -85,9 +90,9 @@ Installing from source
85
90
======================
86
91
87
92
If you are interested perhaps in contributing to matplotlib
88
- development, or just like to build everything yourself, it is not
89
- difficult to build matplotlib from source. Grab the latest * tar.gz *
90
- release file from `sourceforge
93
+ development, running the latest greatest code, or just like to
94
+ build everything yourself, it is not difficult to build matplotlib
95
+ from source. Grab the latest * tar.gz * release file from `sourceforge
91
96
<http://sourceforge.net/project/showfiles.php?group_id=80706> `_, or if
92
97
you want to develop matplotlib or just need the latest bugfixed
93
98
version, grab the latest svn version :ref: `install-svn `.
@@ -173,17 +178,17 @@ backends and the capabilities they provide
173
178
agg template source statically, so it will not affect anything on
174
179
your system outside of matplotlib.
175
180
176
- pytz 2007g or later
181
+ :term: ` pytz ` 2007g or later
177
182
timezone handling for python datetime objects. By default,
178
183
matplotlib will install pytz if it isn't already installed on your
179
- system. To override the default, use setup.cfg to force or
184
+ system. To override the default, use :file: ` setup.cfg to force or
180
185
prevent installation of pytz.
181
186
182
- dateutil 1.1 or later
183
- extensions to python datetime handling. By
184
- default, matplotlib will install dateutil if it isn't already
185
- installed on your system. To override the default, use setup.cfg
186
- to force or prevent installation of dateutil.
187
+ :term:` dateutil` 1.1 or later
188
+ provides extensions to python datetime handling. By default, matplotlib
189
+ will install dateutil if it isn't already installed on your
190
+ system. To override the default, use :file: ` setup.cfg ` to force
191
+ or prevent installation of dateutil.
187
192
188
193
189
194
0 commit comments