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
Using the most recent RELEASE_next_major in HyperSpy, most recent main in hyperspy_gui_ipywidgets and hyperspy_gui_traitsui. The following gives an error in JupyterLab:
hyperspy_gui_traitsui/hyperspy_gui_traitsui/__init__.py:9490elifETSConfig.toolkit=="":
91# The toolkit has not been set and no supported toolkit is available, so92# setting it to "null"93set_ets_toolkit("null")
--->94ifpreferences.GUIs.warn_if_guis_are_missing:
95_logger.warning(
96f"The {backend} matplotlib backend is not compatible with the "97"traitsui GUI elements. For more information, read "98"http://hyperspy.readthedocs.io/en/stable/user_guide/getting_started.html#possible-warnings-when-importing-hyperspy"99".")
AttributeError: 'GUIs'objecthasnoattribute'warn_if_guis_are_missing'
Running the s.plot() again does not give an error.
The following does not give an error (in JupyterLab):
Using the most recent
RELEASE_next_major
in HyperSpy, most recentmain
inhyperspy_gui_ipywidgets
andhyperspy_gui_traitsui
. The following gives an error in JupyterLab:The error:
Running the
s.plot()
again does not give an error.The following does not give an error (in JupyterLab):
The following does not give an error (in JupyterLab):
I'm guessing it is due to this line: https://github.com/hyperspy/hyperspy_gui_traitsui/blob/main/hyperspy_gui_traitsui/__init__.py#L94
However, I'm guessing there is something strange going on elsewhere, as it only happens with the signal with 3 navigation dimensions.
The text was updated successfully, but these errors were encountered: