@@ -1813,54 +1813,63 @@ def bar(self, left, height, width=0.8, bottom=None, **kwargs):
1813
1813
height : sequence of scalars
1814
1814
the heights of the bars
1815
1815
1816
- width : scalar or array-like, optional, default: 0.8
1816
+ width : scalar or array-like, optional
1817
1817
the width(s) of the bars
1818
+ default: 0.8
1818
1819
1819
- bottom : scalar or array-like, optional, default: None
1820
+ bottom : scalar or array-like, optional
1820
1821
the y coordinate(s) of the bars
1822
+ default: None
1821
1823
1822
1824
color : scalar or array-like, optional
1823
1825
the colors of the bar faces
1824
1826
1825
1827
edgecolor : scalar or array-like, optional
1826
1828
the colors of the bar edges
1827
1829
1828
- linewidth : scalar or array-like, optional, default: None
1830
+ linewidth : scalar or array-like, optional
1829
1831
width of bar edge(s). If None, use default
1830
1832
linewidth; If 0, don't draw edges.
1833
+ default: None
1831
1834
1832
- xerr : scalar or array-like, optional, default: None
1835
+ xerr : scalar or array-like, optional
1833
1836
if not None, will be used to generate errorbar(s) on the bar chart
1837
+ default: None
1834
1838
1835
- yerr : scalar or array-like, optional, default: None
1839
+ yerr : scalar or array-like, optional
1836
1840
if not None, will be used to generate errorbar(s) on the bar chart
1841
+ default: None
1837
1842
1838
- ecolor : scalar or array-like, optional, default: None
1843
+ ecolor : scalar or array-like, optional
1839
1844
specifies the color of errorbar(s)
1845
+ default: None
1840
1846
1841
- capsize : integer, optional, default: 3
1847
+ capsize : integer, optional
1842
1848
determines the length in points of the error bar caps
1849
+ default: 3
1843
1850
1844
- error_kw :
1851
+ error_kw : dict, optional
1845
1852
dictionary of kwargs to be passed to errorbar method. *ecolor* and
1846
1853
*capsize* may be specified here rather than as independent kwargs.
1847
1854
1848
- align : [ 'edge' | 'center'] , optional, default: 'edge'
1849
- If ` edge` , aligns bars by their left edges (for vertical bars) and
1850
- by their bottom edges (for horizontal bars). If ` center` , interpret
1855
+ align : { 'edge', 'center'} , optional
1856
+ If ' edge' , aligns bars by their left edges (for vertical bars) and
1857
+ by their bottom edges (for horizontal bars). If ' center' , interpret
1851
1858
the `left` argument as the coordinates of the centers of the bars.
1852
1859
To align on the align bars on the right edge pass a negative
1853
1860
`width`.
1854
1861
1855
- orientation : 'vertical' | 'horizontal', optional, default: 'vertical'
1862
+ orientation : { 'vertical', 'horizontal'} , optional
1856
1863
The orientation of the bars.
1857
1864
1858
- log : boolean, optional, default: False
1859
- If true, sets the axis to be log scale
1865
+ log : boolean, optional
1866
+ If true, sets the axis to be log scale.
1867
+ default: False
1860
1868
1861
1869
Returns
1862
1870
-------
1863
- `matplotlib.patches.Rectangle` instances.
1871
+ bars : matplotlib.container.BarContainer
1872
+ Container with all of the bars + errorbars
1864
1873
1865
1874
Notes
1866
1875
-----
0 commit comments