8000 Do not use an explicit figum in plt.figure(1, ...) in simple cases by timhoffm · Pull Request #12001 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Do not use an explicit figum in plt.figure(1, ...) in simple cases #12001

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 2, 2018

Conversation

timhoffm
Copy link
Member
@timhoffm timhoffm commented Sep 2, 2018

PR Summary

Continuation of #11999 (missed plt.figure(1, ...) calls there).

Use plt.figure(...) rather than plt.figure(1, ...) in simple cases where there is only one figure and the figure number is irrelevant.

@anntzer anntzer merged commit b152acd into matplotlib:master Sep 2, 2018
@timhoffm timhoffm deleted the no-explicit-fignum-part2 branch September 2, 2018 15:22
@tacaswell tacaswell added this to the v3.1 milestone Sep 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0