I have matplotlib
-based GUI app which takes inputs and plots graphs. It works just fine except that the UI is abysmally non-responsive (seconds before it reacts to mouse clicks or keyboard, on a fairly powerful windows box). I start it from jupyter notebook with %matplotlib qt
, the GUI shows up, and the notebook is not blocked, so I can query and modify the underlying matplotlib objects interactively.
I want the same behavior from tkinter.ttk
, but Tk.mainloop
blocks. Is there a way around this?