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

automatically draw on savefig #98

Merged
merged 2 commits into from
Feb 22, 2024
Merged

automatically draw on savefig #98

merged 2 commits into from
Feb 22, 2024

Conversation

mathause
Copy link
Collaborator

@mathause mathause commented Feb 22, 2024

I was a bit afraid that always calling plt.draw could be problematic. However, matplotlib sometimes calls it in savefig (e.g. when setting bbox_inched="tight"), so I don't think this is problematic...

@mathause mathause merged commit d0d28e0 into main Feb 22, 2024
6 checks passed
@mathause mathause deleted the autodraw branch February 22, 2024 01:33
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.

monkey patch plt.savefig?
1 participant