-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Mac shows an icon in the dock when using matplotlib.pyplot. #12918
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
This is kind of like #12724 On master if I do
I don't get a dock icon. But if I call |
ipython injects its own backend when matplotlib is imported
…On Sun, Dec 2, 2018 at 11:44 AM Jody Klymak ***@***.***> wrote:
This is kind of like #12724
<#12724>
On master if I do
$ python
Python 3.7.0 | packaged by conda-forge | (default, Aug 27 2018, 17:24:52)
[Clang 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from matplotlib import pyplot as plt
I *don't* get a dock icon.
But if I call ipython and do the same thing I *do* get a dock icon. Not
sure why ipython behaves differently....
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12918 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARy-JkXN3yg3oCwDLbjdy9tsXRWKIRVks5u1ANQgaJpZM4Y9SCQ>
.
|
Hmmm, OTOH, if I bisect this, it indeed didn't happen for 3.0.0, so it was likely the backend selection logic we introduced recently. So, there is some bad ipython interaction there, but maybe we need an ipython expert to get involved. |
@jklymak what does this bisect back to? I suspect this is yet more issues with event trying to import macosx.... |
@WeatherGod that is not the case in the terminal if you do not use |
This still pops an icon on 3.0.x, but is fixed on master, so when 3.1 should fix this annoyance. |
Bug report
Bug summary
Importing
matplotlib.pyplot
shows an icon in the Mac OS dock panel.Code for reproduction
Expected outcome
No icon in the dock.
Matplotlib version
print(matplotlib.get_backend())
): Qt5AggThe text was updated successfully, but these errors were encountered: