-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Issues handling Matplotlib backend settings #347
Comments
Hey @rhkarls, thanks for reporting. Perhaps Matplotlib changed the way it sets its backend in its 3.5 version. We'll take a look at it. |
Thanks @rhkarls for the pointer! I improved our error message for missing modules in PR #368.
This falls back to Tkinter if PyQt5 can't be found (see below).
You're right. I'll remove that option in 5.3.0, to be released in a couple of months,
This was fixed in #360. |
Not sure if this the correct place to report this, but I'm getting this error in the Spyder console using a custom interpreter. I do not get the error with other interpreters with the same versions of
matplotlib
andIPython
, so not really sure why this happens.Edit: realizing a made a typo when creating the env and
pyqt
was not installed causing this error - sorry about that. Leaving the issue here as perhaps this should be dealt with in a more clear way for the user, and also that choosing TkAgg or Automatic gets stuck. After properly installingpyqt
choosing Automatic works, as Qt5Agg can be used.Error, appears when starting a console:
Happens with Spyder 5.2.0 and 5.2.1 installed with Windows installers.
Output of
conda list
for the particular env:Spyder dependencies:
Edit: I had backend set to
Qt5
when this happens.Other backends:
Inline: works as expected
Automatic: stuck on "connecting to kernel..."
Qt5: error as above
Qt4: KeyError (I guess Qt4 is not supported with mpl version I'm using)
Tkinter: stuck on "connecting to kernel..." (
tk
installed, possibly due to matplotlib errorImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'qt' is currently running
?)The text was updated successfully, but these errors were encountered: