barh_extras¶
- barh_extras(self, *args, **kwargs)[source]¶
Support grouping and stacking successive columns of data, and changes the default bar style.
Important
This function wraps
barh.- Parameters
y, height, width, left (float or list of float, optional) – The dimensions of the bars. If the y coordinates are not provided, they are set to
np.arange(0, len(height)). The units for width are relative by default.absolute_width (bool, optional) – Whether to make the units for width absolute. This restores the default matplotlib behavior.
stack, stacked (bool, optional) – Whether to stack columns of the input array or plot the bars side-by-side in groups.
negpos (bool, optional) – Whether to shade bars greater than zero with
poscolorand bars less than zero withnegcolor.negcolor, poscolor (color-spec, optional) – Colors to use for the negative and positive bars. Ignored if
negposisFalse. Defaults arerc.negcolor='blue7'andrc.poscolor='red7'.lw, linewidth (float, optional) – The edge width for the bar patches.
edgecolor (color-spec, optional) – The edge color for the bar patches.
- Other Parameters
**kwargs – Passed to
barh.