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

Large memory growth with log scaling and linear ticking #15251

Closed
@dopplershift

Description

@dopplershift

I found that I can make my machine spike in memory usage with just this:

importmatplotlib.pyplotaspltfrommatplotlib.tickerimportMultipleLocatorfig,ax=plt.subplots()ax.set_yscale('log')ax.yaxis.set_major_locator(MultipleLocator(100))plt.savefig('test.png')

When I say huge, I mean I see memory usage go up and I kill it before I end up with an unresponsive system.

Removing either of the log scaling or theMultipleLocator causes the huge memory spike to disappear.

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