Hi,
I have a problem when plotting in Spyder.
When using a the code below, the figure window opens but says "not responding". The weird thing is that if I insert a "pause" statement it plots correctly.
Using this code the plot window will freeze
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
Using this code the plot window will display normally the graph
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
plt.pause(10)
I tried to change the backend with no positive results. Any guess ?
Best Regards,
Pedro