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

[MNT]: Is broken_barh redundant? #24827

Closed
@omasoud

Description

@omasoud

Summary

broken_barh()documentationdoes not mentionbarh() but they seem very similar. I'm able to replace calls tobroken_barh() with a call to this:

defbroken_barh_using_barh(ax,xranges,yrange,**kwargs):kwargs2={'align':'edge'}fork,vinkwargs.items():ifk=='facecolors':kwargs2['color']=velse:kwargs2[k]=vax.barh(y=yrange[0],height=yrange[1],left=[x[0]forxinxranges],width=[x[1]forxinxranges],**kwargs2)

So is there something thatbroken_barh() offers thatbarh() doesn't?

Proposed fix

It would help to document the difference if there is a meaningful one, otherwise perhaps deprecatebroken_barh().

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