Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Milestone
Description
Bug summary
When I use pyplot.pause, the code hangs and I have to kill the python session.
Code for reproduction
importnumpyasnpimportmatplotlib.pyplotaspltx=np.linspace(0,1,100)y=np.sin(x)z=np.cos(x)plt.plot(x,y)plt.draw()plt.pause(1)# <== hangs hereplt.plot(x,z)plt.show()
Actual outcome
Code hangs atplt.pause
.
Expected outcome
Code should run fully.
Additional information
This is happening after I upgrade to sonoma 14.3
Operating system
Mac os sonoma 14.3
Matplotlib Version
3.8.2
Matplotlib Backend
MacOSX
Python version
Python 3.10.12
Jupyter version
No response
Installation
conda