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

Skip to content

Do not use an explicit fignum plt.figure(1) in simple cases #11999

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

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

@timhoffm timhoffm added this to the v3.1 milestone Sep 2, 2018
@anntzer anntzer merged commit f6ea9a5 into matplotlib:master Sep 2, 2018
@timhoffm timhoffm deleted the no-explicit-fignum branch September 2, 2018 11:17
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
0