python - Matplotlib plot window is not closing with command-w -
i using ipython3 on mac, following version
python 3.5.2 |anaconda custom (x86_64)| (default, jul 2 2016, 17:52:12) and matplotlib version 2.0.0
i changed backend macosx qt5agg in matplotlibrc file. now, when hit cmd-w close window, doesn't work anymore. there can solve this?
matplotlib , anaconda python under macos don't work because matplotlib requires framework build of python able call macosx backend. see many answers around recommending changing backend, dealing symptoms, , not root of problem.
anaconda ships framework build binary of python well. instead of python3, called pythonw3.
to use matplotlib ipython, , make sure works fine native macosx backend, change ipython interpreter from:
$home/anaconda3/bin/ipython3 to
$home/anaconda3/bin/pythonw3 -m ipython -i closing windows cmd+w should work alright.
Comments
Post a Comment