1
1
.. redirect-from :: /users/installing
2
2
3
- ============
3
+ ************
4
4
Installation
5
+ ************
6
+
7
+ Dependencies
5
8
============
6
9
10
+ Mandatory dependencies should be installed automatically if you install Matplotlib using
11
+ a package manager such as ``pip `` or ``conda ``; therefore this list is primarily for
12
+ reference and troubleshooting.
13
+
14
+ .. toctree ::
15
+ :maxdepth: 2
16
+
17
+ dependencies
18
+
7
19
8
20
Install an official release
9
21
===========================
@@ -135,25 +147,30 @@ Configure build and behavior defaults
135
147
=====================================
136
148
137
149
Aspects of the build and install process and some behaviorial defaults of the
138
- library can be configured via :ref: `environment-variables `. Default plotting
139
- appearance and behavior can be configured via the
150
+ library can be configured via:
151
+
152
+ .. toctree ::
153
+ :maxdepth: 2
154
+
155
+ environment_variables
156
+
157
+ Default plotting appearance and behavior can be configured via the
140
158
:ref: `rcParams file <customizing-with-matplotlibrc-files >`
141
159
142
160
143
161
144
162
.. _installing-faq :
145
163
146
- ==========================
147
164
Frequently asked questions
148
- ==========================
165
+ ===========================
149
166
150
167
Report a compilation problem
151
- ============================
168
+ ----------------------------
152
169
153
170
See :ref: `reporting-problems `.
154
171
155
172
Matplotlib compiled fine, but nothing shows up when I use it
156
- ============================================================
173
+ ------------------------------------------------------------
157
174
158
175
The first thing to try is a :ref: `clean install <clean-install >` and see if
159
176
that helps. If not, the best way to test your install is by running a script,
@@ -175,7 +192,7 @@ If you are still having trouble, see :ref:`reporting-problems`.
175
192
.. _clean-install :
176
193
177
194
How to completely remove Matplotlib
178
- ===================================
195
+ -----------------------------------
179
196
180
197
Occasionally, problems with Matplotlib can be solved with a clean
181
198
installation of the package. In order to fully remove an installed Matplotlib:
@@ -187,12 +204,12 @@ installation of the package. In order to fully remove an installed Matplotlib:
187
204
directory <locating-matplotlib-install>`.
188
205
189
206
OSX Notes
190
- =========
207
+ ---------
191
208
192
209
.. _which-python-for-osx :
193
210
194
211
Which python for OSX?
195
- ---------------------
212
+ ^^^^^^^^^^^^^^^^^^^^^
196
213
197
214
Apple ships OSX with its own Python, in ``/usr/bin/python ``, and its own copy
198
215
of Matplotlib. Unfortunately, the way Apple currently installs its own copies
@@ -222,7 +239,7 @@ or Python.org Python.
222
239
.. _install_osx_binaries :
223
240
224
241
Installing OSX binary wheels
225
- ----------------------------
242
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
226
243
227
244
If you are using Python from https://www.python.org, Homebrew, or Macports,
228
245
then you can use the standard pip installer to install Matplotlib binaries in
@@ -242,7 +259,7 @@ You might also want to install IPython or the Jupyter notebook (``python3 -m pip
242
259
install ipython notebook ``).
243
260
244
261
Checking your installation
245
- --------------------------
262
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^
246
263
247
264
The new version of Matplotlib should now be on your Python "path". Check this
248
265
at the Terminal.app command line::
0 commit comments