Repository navigation
Moved python files from doc/pyplots to examples folder - #7398
Conversation
updated the dynamic links for doc/pyplots to examples/pyplots fixed random state for reproducibility in pyplot examples
tacaswell
left a comment
There was a problem hiding this comment.
modulo the docs building cleanly on travis
|
That's great! |
| 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.
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
pyplotsfiles with grep I didn't spot any places where the stdlibrandommodule was used in stead of thenumpy.randommodule.