Skip to content

Change *subplot(111, ...) to *subplot(...) as 111 is the default. #18552

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
Sep 24, 2020

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Sep 23, 2020

Partly re-does #17335.

Doing everything in one action seems a bit much since every occurrence must be checked. There some rare cases in which we want to leave the numbers in or want to do something else.

All changes are either in tutorials/examples, docstrings, comments or tests.

@timhoffm timhoffm added this to the v3.4.0 milestone Sep 23, 2020
Copy link
Member

@story645 story645 left a comment

Choose a reason for hiding this comment

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

Some questions out of curiosity but they're not blockers

@@ -259,7 +259,7 @@ def f(t):

###############################################################################
# The `~.pyplot.figure` call here is optional because
# ``figure(1)`` will be created by default, just as a ``subplot(111)``
# ``figure(1)`` will be created by default, just as a ``subplot()``
Copy link
Member

Choose a reason for hiding this comment

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

Does this need the figure(1)

Copy link
Member Author

Choose a reason for hiding this comment

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

No. I've rewritten the sentence to make more sense. But don't get me started, otherwise I'll rewrite the whole tutorial 😝.

@story645 story645 merged commit 3e88c9f into matplotlib:master Sep 24, 2020
@timhoffm timhoffm deleted the doc-subplots branch September 24, 2020 06:30
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.

2 participants