8000 [Bug]: pyplot hangs at pause in sonoma 14.3 with backend MacOSX · Issue #27720 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
[Bug]: pyplot hangs at pause in sonoma 14.3 with backend MacOSX #27720
Closed
@cpraveen

Description

@cpraveen

Bug summary

When I use pyplot.pause, the code hangs and I have to kill the python session.

Code for reproduction

import numpy as np
import matplotlib.pyplot as plt

x = np.linspace(0,1,100)
y = np.sin(x)
z = np.cos(x)

plt.plot(x,y)
plt.draw()
plt.pause(1) # <== hangs here
plt.plot(x,z)
plt.show()

Actual outcome

Code hangs at plt.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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0