@@ -673,7 +673,7 @@ def axhline(self, y=0, xmin=0, xmax=1, **kwargs):
673
673
674
674
Returns
675
675
-------
676
- :class:`~matplotlib.lines.Line2D`
676
+ line : :class:`~matplotlib.lines.Line2D`
677
677
678
678
Other Parameters
679
679
----------------
@@ -743,7 +743,7 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
743
743
744
744
Returns
745
745
-------
746
- :class:`~matplotlib.lines.Line2D`
746
+ line : :class:`~matplotlib.lines.Line2D`
747
747
748
748
Other Parameters
749
749
----------------
@@ -1138,8 +1138,9 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
1138
1138
Returns
1139
1139
-------
1140
1140
1141
- A list of :class:`matplotlib.collections.EventCollection` objects that
1142
- were added.
1141
+ list : A list of :class:`~.collections.EventCollection` objects.
1142
+ Contains the :class:`~.collections.EventCollection` that
1143
+ were added.
1143
1144
1144
1145
Notes
1145
1146
-----
@@ -2064,7 +2065,7 @@ def bar(self, *args, **kwargs):
2064
2065
2065
2066
Returns
2066
2067
-------
2067
- `.BarContainer`
2068
+ container : `.BarContainer`
2068
2069
Container with all the bars and optionally errorbars.
2069
2070
2070
2071
Other Parameters
@@ -2088,9 +2089,13 @@ def bar(self, *args, **kwargs):
2088
2089
2089
2090
- scalar: symmetric +/- values for all bars
2090
2091
- shape(N,): symmetric +/- values for each bar
2091
- - shape(2,N): separate + and - values for each bar
2092
+ - shape(2,N): Separate - and + values for each bar. First row
2093
+ contains the lower errors, the second row contains the
2094
+ upper errors.
2095
+ - *None*: No errorbar. (Default)
2092
2096
2093
- Default: None
2097
+ See :ref:`sphx_glr_gallery_statistics_errorbar_features.py`
2098
+ for an example on the usage of ``xerr`` and ``yerr``.
2094
2099
2095
2100
ecolor : scalar or array-like, optional, default: 'black'
2096
2101
The line color of the errorbars.
@@ -2384,7 +2389,7 @@ def barh(self, *args, **kwargs):
2384
2389
2385
2390
Returns
2386
2391
-------
2387
- `.BarContainer`
2392
+ container : `.BarContainer`
2388
2393
Container with all the bars and optionally errorbars.
2389
2394
2390
2395
Other Parameters
@@ -2408,9 +2413,13 @@ def barh(self, *args, **kwargs):
2408
2413
2409
2414
- scalar: symmetric +/- values for all bars
2410
2415
- shape(N,): symmetric +/- values for each bar
2411
- - shape(2,N): separate + and - values for each bar
2416
+ - shape(2,N): Separate - and + values for each bar. First row
2417
+ contains the lower errors, the second row contains the
2418
+ upper errors.
2419
+ - *None*: No errorbar. (default)
2412
2420
2413
- Default: None
2421
+ See :ref:`sphx_glr_gallery_statistics_errorbar_features.py`
2422
+ for an example on the usage of ``xerr`` and ``yerr``.
2414
2423
2415
2424
ecolor : scalar or array-like, optional, default: 'black'
2416
2425
The line color of the errorbars.
@@ -2521,7 +2530,7 @@ def broken_barh(self, xranges, yrange, **kwargs):
2521
2530
2522
2531
Returns
2523
2532
-------
2524
- : class:`matplotlib .collections.BrokenBarHCollection`
2533
+ collection : A : class:`~ .collections.BrokenBarHCollection`
2525
2534
2526
2535
Notes
2527
2536
-----
@@ -2621,8 +2630,8 @@ def stem(self, *args, **kwargs):
2621
2630
2622
2631
Returns
2623
2632
-------
2624
- :class:`~matplotlib.container.StemContainer`
2625
- The stemcontainer may be treated like a tuple
2633
+ container : :class:`~matplotlib.container.StemContainer`
2634
+ The container may be treated like a tuple
2626
2635
(*markerline*, *stemlines*, *baseline*)
2627
2636
2628
2637
@@ -2992,9 +3001,14 @@ def errorbar(self, x, y, yerr=None, xerr=None,
2992
3001
2993
3002
- scalar: Symmetric +/- values for all data points.
2994
3003
- shape(N,): Symmetric +/-values for each data point.
2995
- - shape(2,N): Separate + and - values for each data point.
3004
+ - shape(2,N): Separate - and + values for each bar. First row
3005
+ contains the lower errors, the second row contains the
3006
+ upper errors.
2996
3007
- *None*: No errorbar.
2997
3008
3009
+ See :ref:`sphx_glr_gallery_statistics_errorbar_features.py`
3010
+ for an example on the usage of ``xerr`` and ``yerr``.
3011
+
2998
3012
fmt : plot format string, optional, default: ''
2999
3013
The format for the data points / data lines. See `.plot` for
3000
3014
details.
@@ -3040,7 +3054,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
3040
3054
3041
3055
Returns
3042
3056
-------
3043
- :class:`~.container.ErrorbarContainer`
3057
+ container : :class:`~.container.ErrorbarContainer`
3044
3058
The container contains:
3045
3059
3046
3060
- plotline: :class:`~matplotlib.lines.Line2D` instance of
0 commit comments