Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Closed
@FengChendian

Description

@FengChendian
Issue body actions

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

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.