Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5df4650

Browse filesBrowse files
jklymakMeeseeksDev[bot]
authored andcommitted
Backport PR #11161: DOC: small-doc-improvements1
1 parent a421abf commit 5df4650
Copy full SHA for 5df4650

File tree

Expand file treeCollapse file tree

3 files changed

+33
-16
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+33
-16
lines changed

‎doc/_static/mpl.css

Copy file name to clipboardExpand all lines: doc/_static/mpl.css
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,9 @@ table.docutils.field-list {
713713
font-size: 13px;
714714
line-height: 18px;
715715
}
716+
.docutils.field-list td blockquote p ul li{
717+
font-size: 13px;
718+
}
716719
p.rubric {
717720
font-weight: bold;
718721
font-size: 19px;

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+29-15Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def axhline(self, y=0, xmin=0, xmax=1, **kwargs):
673673
674674
Returns
675675
-------
676-
:class:`~matplotlib.lines.Line2D`
676+
line : :class:`~matplotlib.lines.Line2D`
677677
678678
Other Parameters
679679
----------------
@@ -743,7 +743,7 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
743743
744744
Returns
745745
-------
746-
:class:`~matplotlib.lines.Line2D`
746+
line : :class:`~matplotlib.lines.Line2D`
747747
748748
Other Parameters
749749
----------------
@@ -1138,8 +1138,9 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
11381138
Returns
11391139
-------
11401140
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.
11431144
11441145
Notes
11451146
-----
@@ -2064,7 +2065,7 @@ def bar(self, *args, **kwargs):
20642065
20652066
Returns
20662067
-------
2067-
`.BarContainer`
2068+
container : `.BarContainer`
20682069
Container with all the bars and optionally errorbars.
20692070
20702071
Other Parameters
@@ -2088,9 +2089,13 @@ def bar(self, *args, **kwargs):
20882089
20892090
- scalar: symmetric +/- values for all bars
20902091
- 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)
20922096
2093-
Default: None
2097+
See :ref:`sphx_glr_gallery_statistics_errorbar_features.py`
2098+
for an example on the usage of ``xerr`` and ``yerr``.
20942099
20952100
ecolor : scalar or array-like, optional, default: 'black'
20962101
The line color of the errorbars.
@@ -2384,7 +2389,7 @@ def barh(self, *args, **kwargs):
23842389
23852390
Returns
23862391
-------
2387-
`.BarContainer`
2392+
container : `.BarContainer`
23882393
Container with all the bars and optionally errorbars.
23892394
23902395
Other Parameters
@@ -2408,9 +2413,13 @@ def barh(self, *args, **kwargs):
24082413
24092414
- scalar: symmetric +/- values for all bars
24102415
- 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)
24122420
2413-
Default: None
2421+
See :ref:`sphx_glr_gallery_statistics_errorbar_features.py`
2422+
for an example on the usage of ``xerr`` and ``yerr``.
24142423
24152424
ecolor : scalar or array-like, optional, default: 'black'
24162425
The line color of the errorbars.
@@ -2521,7 +2530,7 @@ def broken_barh(self, xranges, yrange, **kwargs):
25212530
25222531
Returns
25232532
-------
2524-
:class:`matplotlib.collections.BrokenBarHCollection`
2533+
collection : A :class:`~.collections.BrokenBarHCollection`
25252534
25262535
Notes
25272536
-----
@@ -2621,8 +2630,8 @@ def stem(self, *args, **kwargs):
26212630
26222631
Returns
26232632
-------
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
26262635
(*markerline*, *stemlines*, *baseline*)
26272636
26282637
@@ -2992,9 +3001,14 @@ def errorbar(self, x, y, yerr=None, xerr=None,
29923001
29933002
- scalar: Symmetric +/- values for all data points.
29943003
- 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.
29963007
- *None*: No errorbar.
29973008
3009+
See :ref:`sphx_glr_gallery_statistics_errorbar_features.py`
3010+
for an example on the usage of ``xerr`` and ``yerr``.
3011+
29983012
fmt : plot format string, optional, default: ''
29993013
The format for the data points / data lines. See `.plot` for
30003014
details.
@@ -3040,7 +3054,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
30403054
30413055
Returns
30423056
-------
3043-
:class:`~.container.ErrorbarContainer`
3057+
container : :class:`~.container.ErrorbarContainer`
30443058
The container contains:
30453059
30463060
- plotline: :class:`~matplotlib.lines.Line2D` instance of

‎lib/matplotlib/stackplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/stackplot.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def stackplot(axes, x, *args, **kwargs):
5656
5757
Returns
5858
-------
59-
list of `.PolyCollection`
59+
list : list of `.PolyCollection`
6060
A list of `.PolyCollection` instances, one for each element in the
6161
stacked area plot.
6262
"""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.