Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Bug]: plt.figure(), plt.close() leaks memory #23701

Closed
Milestone
@nschloe

Description

@nschloe

Bug summary

MWE:

importmatplotlib.pyplotaspltwhileTrue:plt.figure()plt.close()

Either run this code and monitor the mem consumption on top, or run

mprof run test.pymprof plot

(withmemory-profiler) to get

screenshot

Might be related to#22448.

Operating system

Ubuntu 22.10

Matplotlib Version

3.5.3

Matplotlib Backend

GTK4Agg

Python version

3.10.6

Jupyter version

No response

Installation

pip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp