Skip to content

[Bug]: pyplot hangs at pause in sonoma 14.3 with backend MacOSX #27720

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy