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
Make GUI trajectory plotting thread-safe and draw each plot once #3578
Context
PR #3466 fixed the freeze in #3462 with a minimal change. Some problems remain:
Qt windows on the worker thread: with the QtAgg backend, PlottingResults uses plt.figure(), so the worker creates Qt figure windows even with showfigures=False.
Closing figures that are in use: plt.close("all") in the worker can close windows the GUI is still showing, which may crash the app.
Plots drawn twice: with "Show trajectory plots" ticked, the GUI thread draws all plots again after analysis, so the window hangs for a while.
Activity