Skip to content

Describe how to test regular installations of Matplotlib #19350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

timhoffm
Copy link
Member

PR Summary

This replaces the "Test data" section in installation. Because testing an installation is rarely needed, I've also moved this to the "Testing" docs. IMHO a regular user wanting to install Matplotlib should not be bothered in any way with rather distracting testing information.

Obtain the reference images
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Many tests compare the plot result against reference images. The reference
images are not part of the regular packaged versions (wheels or conda
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
images are not part of the regular packaged versions (wheels or conda
images are not part of the regular packaged versions (pip wheels or conda

@jklymak
Copy link
Member

jklymak commented Jan 25, 2021

I agree with moving this. OTOH, is this needed at all? Do people actually need to do this?

@timhoffm
Copy link
Member Author

OTOH, is this needed at all? Do people actually need to do this?

As I explicitly write in the note, the average end-user does not need it. However, there may be more elaborate cases. For example, a packager might want to check that a generated distribution artifact works correctly. In that case, you'd want to install your artifact and run the tests on that. So I think it's reasonable that we provide the info on testing installs.

@jklymak jklymak merged commit af1f467 into matplotlib:master Jan 25, 2021
@jklymak
Copy link
Member

jklymak commented Jan 25, 2021

merged - I was just making sure you really thought this was necessary because our docs already go off on some tangents..

@QuLogic QuLogic added this to the v3.4.0 milestone Jan 25, 2021
@timhoffm timhoffm deleted the doc-test-install branch January 25, 2021 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants