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]: Small artifacts in xkcd mode #25086

Open
@QuLogic

Description

@QuLogic

Bug summary

When using xkcd mode with some changes to parameters (and depending on figure DPI/size), there are sometimes small artifacts in the result. See theB,S, andF bars in the example, which have a small white triangle cutout on the right side. These triangles may grow slightly, or disappear entirely depending on figure height.

Code for reproduction

importmatplotlib.pyplotaspltdata= {'G':131,'B':49,'S':41,'F':18,'H':12,'L':9,'T':5,'W':4,}plt.xkcd(scale=1,length=200,randomness=0.5)plt.figure(figsize=(8,6),dpi=200)plt.bar(data.keys(),data.values())plt.show()

Actual outcome

image

Expected outcome

Same as above, but without the white triangles in the bars.

Additional information

No response

Operating system

No response

Matplotlib Version

3b89bae

Matplotlib Backend

No response

Python version

3.11.1

Jupyter version

No response

Installation

git checkout

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