Description
I recently upgraded to matplotlib 2.0.0
and it has this weird behavior in the interactive window where after I do a plt.show
and close the interactive window, it hangs and I can't type anything. I can only type if I press control+c, but even so it takes about 15 seconds before the KeyboardInterrupt
sets in and then I can type.
The behavior can be reproduced simple with this code
from matplotlib import pyplot as plt
plt.plot(range(10))
plt.show()
Apparently this only happens with IPython, since I tried in a simple python session and there was no problem. But I think it's not IPython-related because this never happened with any of the previous Matplotlib versions, just version 2. So I thought I'd post this here instead on the IPython issues.
Matplotlib version 2.0.0
Python version 2.7.12
IPython version 2.4.1
Linux Mint 18.1
get_backend()
output: 'TkAgg'