Ronald Oussoren added the comment:
The ApplePersistenceIgnoreState setting (either in user defaults or an
info.plist file) is IMHO not the right solution, as this is a setting intended
to be used for testing (see
Ned Deily added the comment:
I don't know much about this but it seems to be due to the application Resume
feature added in OS X 10.7 and has to do with the persistence of application
windows. Python itself does not create any such windows; they are created by
the GUI
New submission from cbrnr :
There seems to be a problem with using certain Python packages and the
application resume feature of recent macOS versions. Specifically, whenever I
"import matplotlib.plyplot" or run the magic command "%matplotlib" in IPython,
I get the