Skip to content

Commit

Permalink
Merge pull request #27536 from meeseeksmachine/auto-backport-of-pr-27…
Browse files Browse the repository at this point in the history
…534-on-v3.8.x

Backport PR #27534 on branch v3.8.x (Clarify AxLine Params)
  • Loading branch information
oscargus committed Dec 17, 2023
2 parents b577614 + 4a7efef commit 72a1224
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/matplotlib/lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -1478,9 +1478,10 @@ def __init__(self, xy1, xy2, slope, **kwargs):
The first set of (x, y) coordinates for the line to pass through.
xy2 : (float, float) or None
The second set of (x, y) coordinates for the line to pass through.
Either *xy2* or *slope* has to be given.
Both *xy2* and *slope* must be passed, but one of them must be None.
slope : float or None
The slope of the line. Either *xy2* or *slope* has to be given.
The slope of the line. Both *xy2* and *slope* must be passed, but one of
them must be None.
"""
super().__init__([0, 1], [0, 1], **kwargs)

Expand Down

0 comments on commit 72a1224

Please sign in to comment.