8000 Merge pull request #17008 from SidharthBansal/patch-2 · matplotlib/matplotlib@a451e2c · GitHub
[go: up one dir, main page]

Skip to content

Commit a451e2c

Browse files
authored
M 8000 erge pull request #17008 from SidharthBansal/patch-2
Change the description of Rectangle's xy parameter
2 parents bb75f73 + d8561bd commit a451e2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/patches.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,8 @@ def __init__(self, xy, width, height, angle=0.0, **kwargs):
720720
Parameters
721721
----------
722722
xy : (float, float)
723-
The bottom and left rectangle coordinates
723+
The rectangle extends from xy[0] to xy[0] + width in
724+
x-direction and from xy[1] to xy[1] + height in y-direction.
724725
width : float
725726
Rectangle width
726727
height : float

0 commit comments

Comments
 (0)
0