Skip to content

Commit b622fbc

Browse files
authored
Merge pull request matplotlib#28652 from scaccol/docstring-style-fix
Fix docstring style inconsistencies in lines.py
2 parents c17197c + 905a7bb commit b622fbc

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)