You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First raised a problem when I started: raise ValueError(f"Key {key}: {ve}") from None ValueError: Key backend: 'qt4agg' is not a valid value for backend; supported values are ['GTK3Agg', 'GTK3Cairo', 'GTK4Agg', 'GTK4Cairo', 'MacOSX', 'nbAgg', 'QtAgg', 'QtCairo', 'Qt5Agg', 'Qt5Cairo', 'TkAgg', 'TkCairo', 'WebAgg', 'WX', 'WXAgg', 'WXCairo', 'agg', 'cairo', 'pdf', 'pgf', 'ps', 'svg', 'template']
And then I changed the setting in Tools --> Preference--> IPython console--> Graphic -->backend-->Tkinker, but I cant connect to kernal.
When I tried to change a new backend, that error appears.
Traceback
Traceback (most recent call last):
File "D:\Anaconda3\lib\site-packages\spyder\plugins\preferences\widgets\configdialog.py", line 127, in accept
configpage.apply_changes()
File "D:\Anaconda3\lib\site-packages\spyder\plugins\preferences\api.py", line 110, in apply_changesself.apply_callback()
File "D:\Anaconda3\lib\site-packages\spyder\plugins\preferences\api.py", line 142, in <lambda>self._apply_settings_tabs(self.changed_options))
File "D:\Anaconda3\lib\site-packages\spyder\plugins\preferences\api.py", line 170, in _apply_settings_tabsself.apply_settings(options)
File "D:\Anaconda3\lib\site-packages\spyder\api\preferences.py", line 104, in wrapper
func(opts)
File "D:\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole\plugin.py", line 454, in apply_plugin_settingsfor client inself.clients]
File "D:\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole\plugin.py", line 454, in <listcomp>for client inself.clients]
File "D:\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 353, in get_matplotlib_backend
blocking=True).get_matplotlib_backend()
File "D:\Anaconda3\lib\site-packages\spyder_kernels\comms\commbase.py", line 555, in __call__
call_dict, call_data, self._comm_id)
File "D:\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole\comms\kernelcomm.py", line 212, in _get_call_return_valueraise CommError("Cannot block on a disconnected comm")
spyder_kernels.comms.commbase.CommError: Cannot block on a disconnected comm
Hi @Radiumpolonide thank you for the feedback! I think this is partially a duplicate of #15875. However there are other issues as the one you mentioned about the possible values to set the backend. Our next release (5.2.2) will include multiple fixes regarding the matplotlib backend configuration. To check the latest release available you can go to: https://github.com/spyder-ide/spyder/releases
Also, If you want to check a more recent version of Spyder you will need to either create a new env using the conda-forge channel (where the latest releases of Spyder are available) or test our standalone installer (link available inside the latest release page description/list of assets).
When our new release is out please let us know if updating helps!
Description
What steps will reproduce the problem?
First raised a problem when I started: raise ValueError(f"Key {key}: {ve}") from None ValueError: Key backend: 'qt4agg' is not a valid value for backend; supported values are ['GTK3Agg', 'GTK3Cairo', 'GTK4Agg', 'GTK4Cairo', 'MacOSX', 'nbAgg', 'QtAgg', 'QtCairo', 'Qt5Agg', 'Qt5Cairo', 'TkAgg', 'TkCairo', 'WebAgg', 'WX', 'WXAgg', 'WXCairo', 'agg', 'cairo', 'pdf', 'pgf', 'ps', 'svg', 'template']
And then I changed the setting in Tools --> Preference--> IPython console--> Graphic -->backend-->Tkinker, but I cant connect to kernal.
When I tried to change a new backend, that error appears.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: