@@ -9,19 +9,36 @@ Installing
99There are many different ways to install matplotlib, and the best way
1010depends on what operating system you are using, what you already have
1111installed, and how you want to use it. To avoid wading through all
12- the details (and potential complications) on this page, the easiest
13- thing for you to do is use one of the pre-packaged python
14- distributions that already provide matplotlib built-in. The Continuum.io
15- Python distribution `(Anaconda)
16- <https://store.continuum.io/cshop/anaconda/>`_ and the Enthought
17- distribution `(Canopy) <https://www.enthought.com/products/canopy/>`_
18- are both excellent choices that "just work" out of the box for any
19- platform. Both of these packages include matplotlib and
20- *lots* of other useful tools.
21- Another excellent alternative for Windows users is `Python (x, y)
22- <https://code.google.com/p/pythonxy>`_ . matplotlib is also packaged for almost
23- every major Linux distribution. So if you are on Linux, your package
24- manager will probably provide matplotlib prebuilt.
12+ the details (and potential complications) on this page, there are several
13+ convenient options.
14+
15+ Most platforms : scientific Python distributions
16+ ================================================
17+
18+ The first option is to use one of the pre-packaged python distributions that
19+ already provide matplotlib built-in. The Continuum.io Python distribution
20+ `(Anaconda) <https://store.continuum.io/cshop/anaconda/>`_ and the Enthought
21+ distribution `(Canopy) <https://www.enthought.com/products/canopy/>`_ are both
22+ excellent choices that "just work" out of the box for Windows, OSX and common
23+ Linux platforms. Both of these distributions include matplotlib and *lots* of
24+ other useful tools. Another excellent alternative for Windows users is
25+ `Python (x, y) <https://code.google.com/p/pythonxy>`_ .
26+
27+ Linux : using your package manager
28+ ==================================
29+
30+ If you are on Linux, you might prefer to use your package manager. matplotlib
31+ is packaged for almost every major Linux distribution.
32+
33+ * Debian / Ubuntu : ``sudo apt-get install python-matplotlib``
34+ * Fedora / Redhat : ``sudo yum install python-matplotlib``
35+
36+ Mac OSX - using pip
37+ ===================
38+
39+ If you are on Mac OSX you can probably install matplotlib binaries using the
40+ standard Python installation program `pip <https://pypi.python.org/pip>`_.
41+ See :ref:`installing-osx-binaries`.
2542
2643Manually installing pre-built packages
2744======================================
@@ -36,7 +53,7 @@ on your machine, and if not, install it. The official python builds
3653are available for download `here <http://www.python.org/download>`_,
3754but OS X users please read :ref:`which-python-for-osx`.
3855
39- Once you have python up and running, you will need to install `numpy
56+ Once you have Python up and running, you will need to install `numpy
4057<http://www.numpy.org/>`_. numpy provides high-performance array data
4158structures and mathematical functions, and is a requirement for
4259matplotlib. You can test your progress::
@@ -87,7 +104,6 @@ python console, there are some issues relating to user interface
87104toolkits and interactive settings that are discussed in
88105:ref:`mpl-shell`.
89106
90-
91107Installing on Windows
92108---------------------
93109
@@ -207,7 +223,7 @@ manager on Linux, you may need to install the development packages
207223
208224.. note::
209225
210- If you are on debian/ubuntu , you can get all the dependencies
226+ If you are on Debian/Ubuntu , you can get all the dependencies
211227 required to build matplotlib with::
212228
213229 sudo apt-get build-dep python-matplotlib
0 commit comments