-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Moved python files from doc/pyplots to examples folder #7398
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
Conversation
updated the dynamic links for doc/pyplots to examples/pyplots fixed random state for reproducibility in pyplot examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modulo the docs building cleanly on travis
That's great! |
@@ -310,7 +310,7 @@ git. Please also add a line to the README in doc/pyplots for any additional | ||
requirements necessary to generate a new figure. Once these steps have been | ||
taken, these figures can be included in the usual way:: | ||
|
||
.. plot:: pyplots/tex_unicode_demo.py | ||
.. plot:: mpl_examples/pyplots/tex_unicode_demo.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this and the section above is relevant any more? I don't see either README
or make.py
in the original doc/pyplots
.
The failing tests are pep8 related error, which we probably don't want to fix in this PR… |
You can add those files to the list near the end of |
fixed typo from previous commit; redirected to wrong file path
Strangely, the pep8 checker doesn't ignore the excluded files, it checks to make sure they need to be excluded!
|
The strategy implemented on #7403 which runs flake8 on diffs fixes the issue we have on this PR. Currently, there is a test that ensures that blacklisted files need to be blacklisted. Hence the new failure. |
FIX pep8 failed as some files are pep8 compliant
Moved python files from doc/pyplots to examples folder
Thanks @wgma00 for the patch! Cherry-pick in 2.0 with 263e675 |
Complaining that an excluded file passes is a feature of the system to (slowly) ratchet our way to PEP8 compliance (so we do not accidentally fix a file and then break it again). |
Completed the first two changes specified in #7390 . When I was looking through the
pyplots
files with grep I didn't spot any places where the stdlibrandom
module was used in stead of thenumpy.random
module.