Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't call QApplication.setQuitOnLastWindowClosed(False).
That setting previously caused `plt.plot(); print("pre"); plt.show(block=True); print("post")` to block after the `show()` call *even* after closing the Matplotlib figure window ("post" was never printed). The new behavior (printing "post" after the window is closed) is consistent with plain IPython. The setQuitOnLastWindowClosed call came in (with no additional explanation) in the very first commit implementing qt support (bec2d41, in 2010) and seems to have never been touched since then.
- Loading branch information