8000 Fix docstring style inconsistincies · matplotlib/matplotlib@905a7bb · GitHub
[go: up one dir, main page]

Skip to content

Commit 905a7bb

Browse files
committed
Fix docstring style inconsistincies
1 parent adb97e8 commit 905a7bb

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

lib/matplotlib/lines.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,21 +1541,15 @@ def draw(self, renderer):
15411541
super().draw(renderer)
15421542

15431543
def get_xy1(self):
1544-
"""
1545-
Return the *xy1* value of the line.
1546-
"""
1544+
"""Return the *xy1* value of the line."""
15471545
return self._xy1
15481546

15491547
def get_xy2(self):
1550-
"""
1551-
Return the *xy2* value of the line.
1552-
"""
1548+
"""Return the *xy2* value of the line."""
15531549
return self._xy2
15541550

15551551
def get_slope(self):
1556-
"""
1557-
Return the *slope* value of the line.
1558-
"""
1552+
"""Return the *slope* value of the line."""
15591553
return self._slope
15601554

15611555
def set_xy1(self, x, y):

0 commit comments

Comments
 (0)
0