Skip to content

matplotlib window freezing / hanging on close in ipython with OS X #6908

@flipdazed

Description

@flipdazed

This problem has affected everyone I work with that updated to the currently latest versions below. This only affects ipython plots. The regular python terminal is unaffected by this issue.

Also on posted on StackOverflow: http://stackoverflow.com/q/38801285/4013571

Reproduction

import matplotlib.pyplot as plt
plt.plot()
# manually close the window with `x`

Attempting plt.close() also disables the three native OS X window buttons

Workaround

Us the shortcut for closing ipython and then cancel the exit

^+d
Do you really want to exit ([y]/n)? n

Versions

ipython 5.0.0
matplotlib 1.5.1 
OS X El Capitan Version 10.11.6

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions