Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 76b727d

Browse filesBrowse files
authored
Merge pull request #26599 from meeseeksmachine/auto-backport-of-pr-26565-on-v3.8.x
Backport PR #26565 on branch v3.8.x ([doc]: added section Verify installation)
2 parents a7e3142 + aaebbb8 commit 76b727d
Copy full SHA for 76b727d

File tree

1 file changed

+16
-0
lines changed
Filter options

1 file changed

+16
-0
lines changed

‎doc/devel/development_setup.rst

Copy file name to clipboardExpand all lines: doc/devel/development_setup.rst
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,22 @@ 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 in editable mode.
171+
The command should be run when the virtual environment is activated ::
172+
173+
python -c "import matplotlib; print(matplotlib.__file__)"
174+
175+
This command should return : ``<matplotlib_local_repo>\lib\matplotlib\__init__.py``
176+
177+
We encourage you to run tests and build docs to verify that the code installed correctly and that the docs build cleanly,
178+
so that when you make code or document related changes you are aware of the existing issues beforehand.
179+
180+
* Run test cases to verify installation :ref:`testing`
181+
* Verify documentation build :ref:`documenting-matplotlib`
182+
167183
Install pre-commit hooks
168184
========================
169185
`pre-commit <https://pre-commit.com/>`_ hooks save time in the review process by

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.