-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC: Move OO-examples from pyplot section #24054
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
dcbb956
to
8f7d4e4
Compare
Errors in |
Although I think this makes sense, I am not so sure about removing the parallel build. It is almost so that one should not make the dollar_ticks change just to still enable parallel build... (But I guess other people may have other opinions so better wait a bit...) |
to corresponding sections for OO-style examples. - remove pyplot/bpyplots/boxplot_demo_pyplot.py as it's the same as the boxplot demo in statistics - remove pyplots/text_layout.py as it's a duplicate of text_alignment.py in Text, labels and annotations. - merge very basic examples pyplots/fig_axes_labels_simple.py and pyplots/pyplot_formatstr.py into pyplots/pyplot_simple.py
668f190
to
be38b21
Compare
Please accept my apology @oscargus. I included the same redirect in two different files. This error didn't show up for non-parallel builds: the second redirect just overwrites the first one. I fixed this mistake and the docs build in parallel without errors. |
…054-on-v3.6.x Backport PR #24054 on branch v3.6.x ( DOC: Move OO-examples from pyplot section)
The example /gallery/pyplots/dollar_ticks is included into the artists tutorial. matplotlib#24054 Moved that example and added a `.. redirect-from::` directive. This was then duplicated by the include. This PR fixes the issue by moving the include start point after the redirect.
The example /gallery/pyplots/dollar_ticks is included into the artists tutorial. matplotlib#24054 Moved that example and added a `.. redirect-from::` directive. This was then duplicated by the include. This PR fixes the issue by moving the include start point after the redirect.
PR Summary
This PR has two commits:1)Move OO-examples from pyplot section to corresponding sections for OO-style examples andboxplot demo in statistics
in Text, labels and annotations.
pyplots/pyplot_formatstr.py into pyplots/pyplot_simple.py
Closes #15922.
2) Revert doc build in parallelThis is necessary to build to docs with the redirects.Closes #24058PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).