Skip to content

Commit 969109f

Browse files
devilsaint99story645
authored andcommitted
[doc]: add 'validate' section to install doc
1 parent 835220b commit 969109f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

doc/devel/development_setup.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,24 @@ true for ``*.py`` files. If you change the C-extension source (which might
164164
also happen if you change branches) you will have to re-run
165165
``python -m pip install -ve .``
166166

167+
Verify the Installation
168+
==============================
169+
170+
Run the following command to make sure you have correctly installed matplotlib
171+
in editable mode. The command should be run in the development when the virtual
172+
environment is activated ::
173+
174+
python -c "import matplotlib; print(matplotlib.__file__)"
175+
176+
This command should return : ``<matplotlib_local_repo>\lib\matplotlib\__init__.py``
177+
178+
We encourage you to run tests and build docs to verify that the code installed
179+
correctly and that the docs build are clean, so that when you make code or
180+
document related changes you are aware of the existing issues beforehand.
181+
182+
* Run test cases to verify installation :ref:`testing`
183+
* Verify documentation build :ref:`documenting-matplotlib`
184+
167185
Install pre-commit hooks (optional)
168186
===================================
169187
`pre-commit <https://pre-commit.com/>`_ hooks automatically check flake8 and

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy