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
{{ message }}
Repository navigation
Matplotlib plot in jupyterlab using Qt hangs except if an inline plot was produced before #11510
Plotting the ICA components in jupyter-lab, I use the interactive Qt backend with %matplotlib qt to label components.
If an inline figure is plotted prior to this, then everything works.
If not, closing the window does hang the interpreter and I have to send a keyboard interrupt to keep going. The ICA components labeled before the interrupt arrive in ica.exclude safely.
Steps to reproduce
With inline plot before, working and correct behavior:
Activity
welcome commentedon Feb 27, 2023
Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴🏽♂️
mscheltienne commentedon Feb 28, 2023
I can reproduce this on Windows with the latest main, and it seems to happen only with the
ica.plot_components()plot. I tried with:Cell 1:
Cell 2:
And this interactive matplotlib plot works fine and does not get the interpreter stuck.