-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Spurious warning calling fig.show() in jupyter inline backend #14171
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
Comments
Creating a placeholder for this backend to avoid the NoGUIException or simply continue using |
Exact same issue on windows as well |
I think the correct fix for this is for IPython to implement a no-op |
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help! |
I've opened an issue in ipython for this, so closing assuming that the comment from @tacaswell is indeed correct. |
Bug report
Bug summary
Using
fig.show()
in a notebook raises what seems like an un-needed warning. After callingplt.show()
once, all subsequent calls tofig.show()
don't raise the warning.Code for reproduction
Actual outcome
Plot is shown fine, but the following warning is raised:
Expected outcome
The figure is shown fine, so the warning seems unnecessary.
Matplotlib version
master
branchprint(matplotlib.get_backend())
): module://ipykernel.pylab.backend_inlineThe text was updated successfully, but these errors were encountered: