Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0713d4a

Browse files
committed
Moved dependencies under install because its version dependent and
cleaned up the headings a bit
1 parent 07a6f66 commit 0713d4a

File tree

3 files changed

+24
-12
lines changed

3 files changed

+24
-12
lines changed

doc/devel/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Development environment
9191
.. toctree::
9292
:maxdepth: 1
9393

94-
dependencies
94+
../users/installing/dependencies.rst
9595
../users/installing/environment_variables_faq.rst
9696

9797

doc/devel/dependencies.rst renamed to doc/users/installing/dependencies.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. redirect-from: /devel/dependencies
2+
13
.. _dependencies:
24

35
************
@@ -387,7 +389,7 @@ The additional Python packages required to build the
387389

388390
The content of :file:`doc-requirements.txt` is also shown below:
389391

390-
.. include:: ../../requirements/doc/doc-requirements.txt
392+
.. include:: ../../../requirements/doc/doc-requirements.txt
391393
:literal:
392394

393395

doc/users/installing/index.rst

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
.. redirect-from:: /users/installing
22

3-
============
3+
************
44
Installation
5+
************
6+
7+
Dependencies
58
============
69

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+
16+
dependencies
17+
718

819
Install an official release
920
===========================
@@ -143,17 +154,16 @@ appearance and behavior can be configured via the
143154

144155
.. _installing-faq:
145156

146-
==========================
147157
Frequently asked questions
148-
==========================
158+
===========================
149159

150160
Report a compilation problem
151-
============================
161+
----------------------------
152162

153163
See :ref:`reporting-problems`.
154164

155165
Matplotlib compiled fine, but nothing shows up when I use it
156-
============================================================
166+
------------------------------------------------------------
157167

158168
The first thing to try is a :ref:`clean install <clean-install>` and see if
159169
that helps. If not, the best way to test your install is by running a script,
@@ -175,7 +185,7 @@ If you are still having trouble, see :ref:`reporting-problems`.
175185
.. _clean-install:
176186

177187
How to completely remove Matplotlib
178-
===================================
188+
-----------------------------------
179189

180190
Occasionally, problems with Matplotlib can be solved with a clean
181191
installation of the package. In order to fully remove an installed Matplotlib:
@@ -187,12 +197,12 @@ installation of the package. In order to fully remove an installed Matplotlib:
187197
directory <locating-matplotlib-install>`.
188198

189199
OSX Notes
190-
=========
200+
---------
191201

192202
.. _which-python-for-osx:
193203

194204
Which python for OSX?
195-
---------------------
205+
^^^^^^^^^^^^^^^^^^^^^
196206

197207
Apple ships OSX with its own Python, in ``/usr/bin/python``, and its own copy
198208
of Matplotlib. Unfortunately, the way Apple currently installs its own copies
@@ -222,7 +232,7 @@ or Python.org Python.
222232
.. _install_osx_binaries:
223233

224234
Installing OSX binary wheels
225-
----------------------------
235+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
226236

227237
If you are using Python from https://www.python.org, Homebrew, or Macports,
228238
then you can use the standard pip installer to install Matplotlib binaries in
@@ -242,7 +252,7 @@ You might also want to install IPython or the Jupyter notebook (``python3 -m pip
242252
install ipython notebook``).
243253

244254
Checking your installation
245-
--------------------------
255+
^^^^^^^^^^^^^^^^^^^^^^^^^^
246256

247257
The new version of Matplotlib should now be on your Python "path". Check this
248258
at the Terminal.app command line::

0 commit comments

Comments
 (0)