8000 Merge pull request #8161 from aashil/fix-doc-syntax · matplotlib/matplotlib@856764e · GitHub
[go: up one dir, main page]

Skip to content

Commit 856764e

Browse files
committed
Merge pull request #8161 from aashil/fix-doc-syntax
DOC: Add a code block in 'installing' docs.
1 parent 1d87fba commit 856764e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

INSTALL

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ install matplotlib using pip_::
6464
python -m pip install matplotlib
6565

6666
In case Python 2.7 or 3.4 are not installed for all users,
67-
the Microsoft Visual C++ 2008 (
68-
`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=15336>`__
67+
the Microsoft Visual C++ 2008
68+
(`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=15336>`__
6969
or
7070
`32 bit <https://www.microsoft.com/en-us/download/details.aspx?id=29>`__
71-
for Python 2.7) or Microsoft Visual C++ 2010 (
72-
`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=14632>`__
71+
for Python 2.7) or Microsoft Visual C++ 2010
72+
(`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=14632>`__
7373
or
7474
`32 bit <https://www.microsoft.com/en-us/download/details.aspx?id=5555>`__
7575
for Python 3.4) redistributable packages need to be installed.
@@ -133,13 +133,15 @@ latest git version :ref:`install-from-git`.
133133
The standard environment variables `CC`, `CXX`, `PKG_CONFIG` are respected.
134134
This means you can set them if your toolchain is prefixed. This may be used for
135135
cross compiling.
136+
::
136137

137138
export CC=x86_64-pc-linux-gnu-gcc
138139
export CXX=x86_64-pc-linux-gnu-g++
139140
export PKG_CONFIG=x86_64-pc-linux-gnu-pkg-config
140141

141142
Once you have satisfied the requirements detailed below (mainly
142-
python, numpy, libpng and freetype), you can build matplotlib::
143+
python, numpy, libpng and freetype), you can build matplotlib.
144+
::
143145

144146
cd matplotlib
145147
python setup.py build

0 commit comments

Comments
 (0)
0