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

Unnecessary message (warning) when using %matplotlib #14017

Closed
nishikantparmariam opened this issue Apr 14, 2023 · 1 comment
Closed

Unnecessary message (warning) when using %matplotlib #14017

nishikantparmariam opened this issue Apr 14, 2023 · 1 comment

Comments

@nishikantparmariam
Copy link

Description

In a fresh IPython session if %matplotlib magic is ran then the message Shell is already running a gui event loop for qt5. Call with no arguments to disable the current loop. is printed which seems to be a bug because %matplotlib is ran for the first time:

In [1]: %matplotlib

Installed qt5 event loop hook.
Shell is already running a gui event loop for qt5. Call with no arguments to disable the current loop.

Version: IPython 8.12

Details

This was introduced as warning in #13864 (See here), so is present in IPython 8.11 as warning, but was later turned into print statement in IPython 8.12 in #13957 (See here)

Similar issues reported - #14006, #13978

@ccordoba12
Copy link
Member

Closing as a duplicate of #14006.

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

2 participants