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]: Log scaled barplots in PDF result in infinite rectangles #28175

Open
@eabila

Description

@eabila

Bug summary

When saving log scaled barplots as PDFs, the bars get saved as rectangles with infinite size.
Log_scale_barplot

Code for reproduction

importmatplotlib.pyplotaspltimportnumpyasnpcategories= ['A','B','C','D','E']values= [800,1200,2000,3000,5000]plt.bar(categories,values)plt.yscale('log')plt.savefig('Log_scale_barplot.pdf')

Actual outcome

Rectangles with infinite size

Expected outcome

Rectangles size capped at axis

Additional information

No response

Operating system

Linux, OS/X

Matplotlib Version

3.8.4

Matplotlib Backend

No response

Python version

No response

Jupyter version

No response

Installation

None

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp