ipython: Cannot close last figure window

After updating ipython to 5.0 (from macports), I cannot close last figure window (neither with button in window bar, nor with ‘close()’). The mouse cursor becomes spinning wheel inside the window, but I can still type command in the terminal window.

However, if I type clf(), the figure window closes and a new one appears.

This happens only when there is only one figure window remaining.

Here’s my system (OS X El Capitan, with python/ipython etc. installed via macports) :

[~] $ python -c "import IPython; print(IPython.sys_info())"
{'commit_hash': u'<not found>',
 'commit_source': '(none found)',
 'default_encoding': 'UTF-8',
 'ipython_path': '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython',
 'ipython_version': '5.0.0',
 'os_name': 'posix',
 'platform': 'Darwin-15.5.0-x86_64-i386-64bit',
 'sys_executable': '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python',
 'sys_platform': 'darwin',
 'sys_version': '2.7.12 (default, Jun 29 2016, 12:52:38) \n[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)]'}

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 21 (11 by maintainers)

Commits related to this issue

Most upvoted comments

Has this been fixed? I still have this issue with ipython 5.1 (and matplotlib 1.5.3, python 3.5.2, macOS 10.12.1)