Skip to content
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

Replace plt.clf with plt.close #143

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Replace plt.clf with plt.close #143

merged 1 commit into from
Jun 27, 2024

Conversation

j-otsuki
Copy link
Contributor

Replaced plt.clf() with plt.close() to avoid the following runtime warning:

RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). Consider using `matplotlib.pyplot.close()`.

@j-otsuki j-otsuki merged commit 02fb783 into develop Jun 27, 2024
4 checks passed
@j-otsuki j-otsuki deleted the check_close branch June 27, 2024 07:23
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.

1 participant