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

Use matplotlib's non-interactive mode as default #71

Open
welinder opened this issue Dec 13, 2018 · 0 comments
Open

Use matplotlib's non-interactive mode as default #71

welinder opened this issue Dec 13, 2018 · 0 comments

Comments

@welinder
Copy link

The python -m spinup.run plot exits for me without showing plots. This is due to matplotlib's interactive mode being turned on by default (from my matplotlibrc). I think the plot command assumes interactive mode is turned off so that plt.show is blocking. The fix is to add plt.ioff() to the plot.py script before plotting anything.

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

No branches or pull requests

1 participant