[Bug]: Can not close figure when using multiple figures on MacOS X · Issue #28387 · matplotlib/matplotlib · GitHub
Skip to content

[Bug]: Can not close figure when using multiple figures on MacOS X #28387

Description

@FengChendian

Bug summary

I can not close figure when use multiple figures.

I use

  • macOS 14.5 (23F79).
  • Apple M1 Pro

Code for reproduction

import matplotlib.pyplot as plt

import numpy as np

a = np.arange(10)
y = np.sin(a)

plt.figure()
plt.plot(a, y)
plt.figure()
plt.plot(a, y)
plt.show()

Actual outcome

Jietu20240613-121205-HD.mp4

Expected outcome

I should close these figures immediately.

Additional information

No response

Operating system

OS/X

Matplotlib Version

3.8.4

Matplotlib Backend

MacOSX

Python version

3.12.3

Jupyter version

No response

Installation

conda

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions