Skip to content

Commit 2705dfa

Browse files
committed
Merge pull request matplotlib#1367 from dmcdougall/fix_transform_typo
Fix typo in transforms.py
2 parents 74c74d5 + 2f49f89 commit 2705dfa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/matplotlib/transforms.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,10 +474,9 @@ def fully_containsy(self, y):
474474
:attr:`y1`.
475475
"""
476476
y0, y1 = self.intervaly
477-
# FIXME x is not define. This method probably doesn't work.
478477
return ((y0 < y1
479-
and (x > y0 and x < y1))
480-
or (x > y1 and x < y0))
478+
and (y > y0 and y < y1))
479+
or (y > y1 and y < y0))
481480

482481
def fully_contains(self, x, y):
483482
"""

0 commit comments

Comments
 (0)