Permalink
Browse files

Fix typo in transforms.py

  • Loading branch information...
1 parent 6bb3c55 commit 2f49f89a8bf399a84baf05cdf4b7ea48fa1bec09 @dmcdougall committed Oct 11, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/matplotlib/transforms.py
@@ -474,10 +474,9 @@ def fully_containsy(self, y):
:attr:`y1`.
"""
y0, y1 = self.intervaly
- # FIXME x is not define. This method probably doesn't work.
return ((y0 < y1
- and (x > y0 and x < y1))
- or (x > y1 and x < y0))
+ and (y > y0 and y < y1))
+ or (y > y1 and y < y0))
def fully_contains(self, x, y):
"""

0 comments on commit 2f49f89

Please sign in to comment.