@@ -499,7 +499,7 @@ def axhline(self, y=0, xmin=0, xmax=1, **kwargs):
499
499
500
500
Returns
501
501
-------
502
- :class:`~matplotlib.lines.Line2D`
502
+ line : :class:`~matplotlib.lines.Line2D`
503
503
504
504
Other Parameters
505
505
----------------
@@ -569,7 +569,7 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
569
569
570
570
Returns
571
571
-------
572
- :class:`~matplotlib.lines.Line2D`
572
+ line : :class:`~matplotlib.lines.Line2D`
573
573
574
574
Other Parameters
575
575
----------------
@@ -964,8 +964,9 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
964
964
Returns
965
965
-------
966
966
967
- A list of :class:`matplotlib.collections.EventCollection` objects that
968
- were added.
967
+ list : A list of :class:`~.collections.EventCollection` objects.
968
+ Contains the :class:`~.collections.EventCollection` that
969
+ were added.
969
970
970
971
Notes
971
972
-----
@@ -1849,7 +1850,7 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",
1849
1850
1850
1851
Returns
1851
1852
-------
1852
- `.BarContainer`
1853
+ container : `.BarContainer`
1853
1854
Container with all the bars and optionally errorbars.
1854
1855
1855
1856
Other Parameters
@@ -1873,9 +1874,13 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",
1873
1874
1874
1875
- scalar: symmetric +/- values for all bars
1875
1876
- shape(N,): symmetric +/- values for each bar
1876
- - shape(2,N): separate + and - values for each bar
1877
+ - shape(2,N): Separate - and + values for each bar. First row
1878
+ contains the lower errors, the second row contains the
1879
+ upper errors.
1880
+ - *None*: No errorbar. (Default)
1877
1881
1878
- Default: None
1882
+ See :ref:`sphx_glr_gallery_statistics_errorbar_features.py`
1883
+ for an example on the usage of ``xerr`` and ``yerr``.
1879
1884
1880
1885
ecolor : scalar or array-like, optional, default: 'black'
1881
1886
The line color of the errorbars.
@@ -2124,7 +2129,7 @@ def barh(self, y, width, height=0.8, left=None, *, align="center",
2124
2129
2125
2130
Returns
2126
2131
-------
2127
- `.BarContainer`
2132
+ container : `.BarContainer`
2128
2133
Container with all the bars and optionally errorbars.
2129
2134
2130
2135
Other Parameters
@@ -2148,9 +2153,13 @@ def barh(self, y, width, height=0.8, left=None, *, align="center",
2148
2153
2149
2154
- scalar: symmetric +/- values for all bars
2150
2155
- shape(N,): symmetric +/- values for each bar
2151
- - shape(2,N): separate + and - values for each bar
2156
+ - shape(2,N): Separate - and + values for each bar. First row
2157
+ contains the lower errors, the second row contains the
2158
+ upper errors.
2159
+ - *None*: No errorbar. (default)
2152
2160
2153
- Default: None
2161
+ See :ref:`sphx_glr_gallery_statistics_errorbar_features.py`
2162
+ for an example on the usage of ``xerr`` and ``yerr``.
2154
2163
2155
2164
ecolor : scalar or array-like, optional, default: 'black'
2156
2165
The line color of the errorbars.
@@ -2235,7 +2244,7 @@ def broken_barh(self, xranges, yrange, **kwargs):
2235
2244
2236
2245
Returns
2237
2246
-------
2238
- : class:`matplotlib .collections.BrokenBarHCollection`
2247
+ collection : A : class:`~ .collections.BrokenBarHCollection`
2239
2248
2240
2249
Notes
2241
2250
-----
@@ -2327,8 +2336,8 @@ def stem(self, *args, linefmt=None, markerfmt=None, basefmt=None,
2327
2336
2328
2337
Returns
2329
2338
-------
2330
- :class:`~matplotlib.container.StemContainer`
2331
- The stemcontainer may be treated like a tuple
2339
+ container : :class:`~matplotlib.container.StemContainer`
2340
+ The container may be treated like a tuple
2332
2341
(*markerline*, *stemlines*, *baseline*)
2333
2342
2334
2343
@@ -2671,9 +2680,14 @@ def errorbar(self, x, y, yerr=None, xerr=None,
2671
2680
2672
2681
- scalar: Symmetric +/- values for all data points.
2673
2682
- shape(N,): Symmetric +/-values for each data point.
2674
- - shape(2,N): Separate + and - values for each data point.
2683
+ - shape(2,N): Separate - and + values for each bar. First row
2684
+ contains the lower errors, the second row contains the
2685
+ upper errors.
2675
2686
- *None*: No errorbar.
2676
2687
2688
+ See :ref:`sphx_glr_gallery_statistics_errorbar_features.py`
2689
+ for an example on the usage of ``xerr`` and ``yerr``.
2690
+
2677
2691
fmt : plot format string, optional, default: ''
2678
2692
The format for the data points / data lines. See `.plot` for
2679
2693
details.
@@ -2719,7 +2733,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
2719
2733
2720
2734
Returns
2721
2735
-------
2722
- :class:`~.container.ErrorbarContainer`
2736
+ container : :class:`~.container.ErrorbarContainer`
2723
2737
The container contains:
2724
2738
2725
2739
- plotline: :class:`~matplotlib.lines.Line2D` instance of
0 commit comments