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 456abce

Browse filesBrowse files
committed
Merge pull request matplotlib#6652 from madphysicist/patch-2
DOC: Minor doc updates.
1 parent 06ed8a8 commit 456abce
Copy full SHA for 456abce

File tree

Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed

‎doc/users/plotting/examples/simple_legend01.py

Copy file name to clipboardExpand all lines: doc/users/plotting/examples/simple_legend01.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
plt.subplot(211)
55
plt.plot([1,2,3], label="test1")
66
plt.plot([3,2,1], label="test2")
7-
# Place a legend above this legend, expanding itself to
7+
# Place a legend above this subplot, expanding itself to
88
# fully use the given bounding box.
99
plt.legend(bbox_to_anchor=(0., 1.02, 1., .102), loc=3,
1010
ncol=2, mode="expand", borderaxespad=0.)
1111

1212
plt.subplot(223)
1313
plt.plot([1,2,3], label="test1")
1414
plt.plot([3,2,1], label="test2")
15-
# Place a legend to the right of this smaller figure.
15+
# Place a legend to the right of this smaller subplot.
1616
plt.legend(bbox_to_anchor=(1.05, 1), loc=2, borderaxespad=0.)
1717

1818
plt.show()

‎lib/matplotlib/offsetbox.py

Copy file name to clipboardExpand all lines: lib/matplotlib/offsetbox.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,12 +754,12 @@ def __init__(self, s,
754754
self._minimumdescent = minimumdescent
755755

756756
def set_text(self, s):
757-
"set text"
757+
"Set the text of this area as a string."
758758
self._text.set_text(s)
759759
self.stale = True
760760

761761
def get_text(self):
762-
"get text"
762+
"Returns the string representation of this area's text"
763763
return self._text.get_text()
764764

765765
def set_multilinebaseline(self, t):

0 commit comments

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