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 b622fbc

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

File tree

1 file changed

+3
-9
lines changed
Filter options

1 file changed

+3
-9
lines changed

‎lib/matplotlib/lines.py

Copy file name to clipboardExpand all lines: lib/matplotlib/lines.py
+3-9Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.