Skip to content

fix: cleanup temp figures after running anisotropic epsilon plotting tests #2372

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
Apr 14, 2025

Conversation

bzhangflex
Copy link
Contributor

Fixes "folder not found" error when cleaning up figures temporarily created by matplotlib for anisotropic epsilon plotting tests.
Also added another fixture for closing pyplot figures after each test is ran, which should save memory when all the tests are ran together.

@bzhangflex bzhangflex requested a review from yaugenst-flex April 9, 2025 19:23
@bzhangflex bzhangflex force-pushed the bzhangflex/fix-matplotlib-testplot-cleanup branch 2 times, most recently from 37e9e96 to 11d0ce2 Compare April 11, 2025 18:11
Copy link
Collaborator

@yaugenst-flex yaugenst-flex left a comment

Choose a reason for hiding this comment

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

Thanks @bzhangflex this is much better!

@bzhangflex bzhangflex force-pushed the bzhangflex/fix-matplotlib-testplot-cleanup branch from 11d0ce2 to 387555e Compare April 11, 2025 19:15
@bzhangflex bzhangflex force-pushed the bzhangflex/fix-matplotlib-testplot-cleanup branch from 387555e to 1785411 Compare April 14, 2025 12:58
@yaugenst-flex yaugenst-flex merged commit 75cddff into develop Apr 14, 2025
18 checks passed
@yaugenst-flex yaugenst-flex deleted the bzhangflex/fix-matplotlib-testplot-cleanup branch April 14, 2025 13:57
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.

2 participants