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