Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 657faf6

Browse files
authored
Merge pull request #18362 from QuLogic/doc-return
DOC: Add some types to Returns entries.
2 parents 8610965 + 11cdd7f commit 657faf6

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,8 +1788,8 @@ def plot_date(self, x, y, fmt='o', tz=None, xdate=True, ydate=False,
17881788
17891789
Returns
17901790
-------
1791-
lines
1792-
A list of `.Line2D` objects representing the plotted data.
1791+
list of `~.Line2D`
1792+
Objects representing the plotted data.
17931793
17941794
Other Parameters
17951795
----------------
@@ -1858,8 +1858,8 @@ def loglog(self, *args, **kwargs):
18581858
18591859
Returns
18601860
-------
1861-
lines
1862-
A list of `.Line2D` objects representing the plotted data.
1861+
list of `~.Line2D`
1862+
Objects representing the plotted data.
18631863
18641864
Other Parameters
18651865
----------------
@@ -1911,8 +1911,8 @@ def semilogx(self, *args, **kwargs):
19111911
19121912
Returns
19131913
-------
1914-
lines
1915-
A list of `.Line2D` objects representing the plotted data.
1914+
list of `~.Line2D`
1915+
Objects representing the plotted data.
19161916
19171917
Other Parameters
19181918
----------------
@@ -1960,8 +1960,8 @@ def semilogy(self, *args, **kwargs):
19601960
19611961
Returns
19621962
-------
1963-
lines
1964-
A list of `.Line2D` objects representing the plotted data.
1963+
list of `~.Line2D`
1964+
Objects representing the plotted data.
19651965
19661966
Other Parameters
19671967
----------------
@@ -2202,8 +2202,8 @@ def step(self, x, y, *args, where='pre', data=None, **kwargs):
22022202
22032203
Returns
22042204
-------
2205-
lines
2206-
A list of `.Line2D` objects representing the plotted data.
2205+
list of `.Line2D`
2206+
Objects representing the plotted data.
22072207
22082208
Other Parameters
22092209
----------------

lib/matplotlib/figure.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,8 @@ def suptitle(self, t, **kwargs):
696696
697697
Returns
698698
-------
699-
text
700-
The `.Text` instance of the title.
699+
`.Text`
700+
The instance of the title.
701701
702702
Other Parameters
703703
----------------
@@ -2865,7 +2865,7 @@ def figaspect(arg):
28652865
28662866
Returns
28672867
-------
2868-
width, height
2868+
width, height : float
28692869
The figure size in inches.
28702870
28712871
Notes

0 commit comments

Comments
 (0)