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

Update render_plot #96

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Update render_plot #96

wants to merge 2 commits into from

Conversation

casblaauw
Copy link
Collaborator

Currently, if you turn off show in render_plot, it closes the figure, which actually 'destroys' it and makes it impossible to visualise again without a lot of workarounds:
https://stackoverflow.com/questions/31729948/matplotlib-how-to-show-a-figure-that-has-been-closed

Also, it currently calls tight_layout with the pyplot wrapper, when this could just be done on the figure object to keep everything object-oriented.

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