James Atwood James Atwood - 1 year ago 186
Python Question

plt.show() hangs on OSX with Anaconda Python

import matplotlib.pyplot as plt

...crickets. The interpreter hangs and I can't seem to interrupt it.

This is with Python 2.7.9 and Anaconda 2.2.0 (x86_64) on OSX.

Does this happen for anyone else? How can I solve this problem?

Answer Source

Try starting Python using pythonw instead of python.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download