Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Description
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()
.